@sindresorhus@mastodon.social
@sindresorhus@mastodon.social avatar

sindresorhus

@sindresorhus@mastodon.social

Full-time open-sourcerer & indie Mac developer. Swift & Node.js.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

sindresorhus, to random
@sindresorhus@mastodon.social avatar

Happy holidays 🎄

sindresorhus, to random
@sindresorhus@mastodon.social avatar

What would you like to see from my apps in 2024?

sindresorhus,
@sindresorhus@mastodon.social avatar

@uncenter @kytta I provide non-App Store versions that are updated once a year. I have no plans to do it more often. There's very little demand for this and adding another regular update channel adds a lot of extra work.

sindresorhus,
@sindresorhus@mastodon.social avatar

@jools912 This is actually something I'm already planning. I would not support stores specifically though, just lists, since it's not something I need, so it may not work for your needs.

sindresorhus,
@sindresorhus@mastodon.social avatar

@matthias Unfortunately unlikely to happen.

  1. Not something I need.
  2. Little demand.
  3. Would not work as well because there is no way to open a link in the background on iOS
sindresorhus, to random
@sindresorhus@mastodon.social avatar

If you're not running the latest macOS version, you may find this useful. On my website, I have a dedicated page for users running older macOS versions: https://sindresorhus.com/apps/older-versions

sindresorhus, to random
@sindresorhus@mastodon.social avatar

Actions 3 is out now. Now with more, uhm, actions.

https://github.com/sindresorhus/Actions

sindresorhus,
@sindresorhus@mastodon.social avatar

The most useful new action is probably “Get Bluetooth Device”. With it, you can detect where you are based on what Bluetooth devices are close by. For example, have the iPhone 15 Pro action button behave differently at home and outside.

sindresorhus,
@sindresorhus@mastodon.social avatar

@eierund The first part yes. Whether it's possible to start a workaround in a shortcut, I'm not sure.

sindresorhus, to random
@sindresorhus@mastodon.social avatar

I posted my One Task app on Product Hunt: https://www.producthunt.com/posts/one-task

sindresorhus, to random
@sindresorhus@mastodon.social avatar

New app:

Memo Widget — Sticky notes on your home screen, lock screen, and desktop

Available for iPhone, iPad, and Apple silicon Macs

https://sindresorhus.com/memo-widget

sindresorhus, to random
@sindresorhus@mastodon.social avatar

The App Store Connect app is so bad. Logs itself out every time. Every action is slow with a loading spinner. Often times out.

czottmann, to swiftui
@czottmann@norden.social avatar

[App Intents] Has anyone seen optional/ contextual intent parameters show up under "Show more" even though they're not explicitly set to appear there?

It started in Sonoma & iOS 17: Some @​Parameters are contextual, and only to be displayed when certain other intent parameters are set. But Shortcuts decides that it needs to show all the parameters from the intent, and only when you interact with a parameter in the main part of the block, it hides them as expected. Any ideas?

/㏄ @swiftui

sindresorhus,
@sindresorhus@mastodon.social avatar

@czottmann Yeah. I have seen it. Seems like just another Shortcuts app bug.

sindresorhus, to random
@sindresorhus@mastodon.social avatar

Coding in a nutshell

sindresorhus, to random
@sindresorhus@mastodon.social avatar

AM/PM is so dumb

sindresorhus, to random
@sindresorhus@mastodon.social avatar

My take on modernizing a couple of browser APIs:

requestAnimationFrame: https://github.com/sindresorhus/request-animation-frames

MutationObserver: https://github.com/sindresorhus/dom-mutations

image/png

sindresorhus, to random
@sindresorhus@mastodon.social avatar

Introducing SamoyedGPT - Chat with a Samoyed dog

https://chat.openai.com/g/g-mzSHfFBlu-samoyedgpt

(requires ChatGPT plus)

sindresorhus, to random
@sindresorhus@mastodon.social avatar

Introducing SindreGPT — Me as an AI chat bot

I have fed it all the data I have about myself. Enjoy.

https://chat.openai.com/g/g-df0ZoBF9N-sindregpt

(requires ChatGPT Plus)

sindresorhus, to random
@sindresorhus@mastodon.social avatar

uint8array-extras now also supports Base64URL: https://github.com/sindresorhus/uint8array-extras

sindresorhus, to random
@sindresorhus@mastodon.social avatar

Goodbye, Node.js Buffer — It's time to move from Buffer to Uint8Array https://sindresorhus.com/blog/goodbye-nodejs-buffer

sindresorhus,
@sindresorhus@mastodon.social avatar
sindresorhus,
@sindresorhus@mastodon.social avatar

Someone asked the difference between the various "byte" containers, so I tried my best at summarizing it: (Please point out mistakes)

  • Blob: Immutable raw data container with a size and MIME type, not directly readable.

  • File: Like a Blob, but with additional file-specific properties (e.g., filename).

sindresorhus,
@sindresorhus@mastodon.social avatar
  • ArrayBuffer: Fixed-length raw binary data container, not directly accessible.

  • Uint8Array: Interface for reading/writing binary data in ArrayBuffer, showing them as 8-bit unsigned integers.

  • Buffer: Subclass of Uint8Array with Node.js specific methods. Existed before Uint8Array.

sindresorhus,
@sindresorhus@mastodon.social avatar

@staltz I personally prefer to move to Uint8Array and DataView as much as possible, rather than polyfilling every Buffer API.

sindresorhus, to random
@sindresorhus@mastodon.social avatar

I'm working on an idea for creating presentable errors in JavaScript, and I'm looking for some feedback: https://github.com/sindresorhus/presentable-error

(comment in the issue tracker, not here)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • Leos
  • cisconetworking
  • provamag3
  • lostlight
  • All magazines