amake

u/amake


r/emacs•

You can now try Orgro for iOS for 7 days before deciding whether to purchase. If you were curious but didn't want to take the plunge before, please give it another look.

Existing customers: You should already be unlocked, with a special icon and message in the Settings screen. *I have gotten one report from an existing customer who somehow did not get unlocked properly; I have not gotten enough information yet to debug their issue. If you are an existing customer and were not automatically unlock

2813

r/dartlang•

I maintain some pure-Dart packages that are ultimately consumed in a Flutter application. Sometimes I accidentally bump dependencies in my Dart package beyond what is allowed by Flutter version pinning, forcing me to revert and republish.

To prevent that from happening, I've just published a GitHub Actions action that lets you check for Flutter compatibility in CI: https://github.com/marketplace/actions/check-flutter-compatibility

Hopefully this will be useful for others as well!

120

r/synology•

Time Machine fighting Docker?

Networking & security

I have a DS418play running DSM 7.2.2. I have my Macs back up to the Synology with Time Machine over Wi-Fi (802.11ax), and this generally works well (modulo occasional corruption requiring a clean backup, etc.).

I recently installed Container Manager (Docker) on my Synology and started running Pi-hole for DNS-based ad blocking. This also generally works well.

However, I find that while a Time Machine backup is ongoing, DNS lookups take so long (multiple seconds) that using the internet becomes quite painful (it turns out you hit DNS quite often, when doing pretty much anything!).

While this is happening, the DSM web interface is quite responsive, and Resource Monito

36

r/emacs•

Hi all. I recently released Orgro 1.40.4 with probably the most-requested features since it launched ~4.5 years ago:

  • Full-text editing support: enter a separate editor view to freely edit the plain markup. Works on narrowed sections as well.
  • id: link resolution across files. This has been most requested by Org-roam users. Requires directory permissions per the FAQ.

I've added lots of other improvements as well; see the changelog for details.

Full-text editing is all well and good, but I'm still thinking about other kinds of "structured" editing operati

4519

r/emacs•

Hi all. It's been a long time coming, but I recently released Orgro 1.33.3 with simple editing support.

At the moment you can:

  • Toggle list item checkboxes
  • Cycle the TODO status on headlines
  • Undo/redo changes
  • Auto-save the edited document back to the original file, or if permissions don't allow, then you will be prompted to share or discard the document

I've added lots of other improvements as well; see the changelog for details.

I'm still thinking about other kinds of editing operations and how they can be exposed comfortably in a mobile UI (especially one that tries to mimic the "native" appearance of an Org Mode doc in Emacs

15

r/emacs•

I am trying to make a package that generates a type specimen for a font. In short:

  1. Prompt user for a font family (e.g. from font-family-list)
  2. Open temp buffer into which I generate strings, in the font, in various sizes

I can do this easily enough for ASCII characters by doing

(insert (propertize "Lorem ipsum" 'face `(:family ,font)))

And this does work for non-ASCII characters under emacs -Q.

However for my personal config I have customized the default fontset to use various fonts according to charset or script:

(set-fontset-font t 'han "MyCjkFont")

In the presence of this customization I find that no matter what I do, MyCjkFont is always used for characters in

410

r/FlutterDev•

I recently released flutter_charset_detector: a plugin that auto-detects and decodes text with unknown charset/encoding.

Under the hood it uses the best native libraries I am aware of: uchardet on iOS and juniversalchardet on Android. Both of these are originally based on work from Mozilla.

This plugin is useful for apps that might have to interpret user-supplied data (especially files) that could be in arbitrary encodings.

(You might think that the whole world has moved to UTF-8, but you'd be wrong.)

I am using it in production

60

r/FlutterDev•

I recently released dynamic_fonts: a package that lets you load fonts dynamically just like google_fonts, but from any arbitrary web host.

It's really just a fork of google_fonts with more of the API exposed and with some hooks to allow registering your own fonts.

Why would you use this?

If there is a font that you know you're going to use in your app, just bundle it normally. Don't bother with this package.

But if your app e.g. offers users multiple choices of fonts, and

  1. Some fonts may not be used at all, depending on user preferences
  2. Bundling all of the fonts would bloat your app too much

then th

231

r/FlutterDev•

I recently released flutter_tex_js, a new LaTeX rendering plugin supporting iOS and Android.

There are already a few LaTeX plugins out there, so why make a new one?

Existing plugins all seem to either be a) very heavyweight, embedding an entire webview per text run, or b) very immature, not yet supporting a wide variety of LaTeX syntax.

flutter_tex_js strikes a balance by using what seems to be a somewhat novel approach:

  1. Render on a single native webview
  2. Capture the result as PNG bytes
  3. Send bytes back to Dart for display as an image

The result is performant and has good syntax support (thanks to KaTeX, the under

115