Threads for tehno

    1. 4
      • zathura pdf reader
      • espanso automatic-as-you-type text expander
      • tldr example-focused mini manpages
      • snebu filesystem backups
      • pgTAP database test harness
      • pspg pager for tabular data
      • redshift and similar (I’m using wlsunset on wayland)

      already mentioned: Postgres, PostGIS, SyncThing, rofi, ripgrep, KeePassXC, jq, mcfly, mpv

      1. 2

        I found tealdeer rust version of tldr easier to install and use, also it supports local pages so you can have your own cheatsheets for non-standard utils or your private scripts.

    2. 3

      For learning how to do web servers with Golang, I found Let’s Go and Let’s Go Further by Alex Edwards both very good. The way he iteratively adds to programs, and inline-comments the changed parts with change reasoning and background is what I found more unique in these books.

      1. 1

        I second this. I’m reading Let’s Go now, and so far it’s great.

        Has anyone tried Writing an Interpreter in Go or Writing a Compiler in Go by Thorsten Bell? They look interesting, but I’d be curious to hear more about them.

    3. 1

      I’m curious about this, because the description still mentions Scheme and writing an evaluator. The new chapter on parsing sounds nice, and makes me wonder if the evaluator is going to be for JS instead of Scheme.

      In any case I might pick this up. A refresh of a favorite book is always an interesting read at least.

      1. 8

        Looks like the custom language in this book is Source. Implements a subset of JS syntax.

    4. 1

      Anyone knows if there are split ergonomic keyboards that are decent and more affordable? Have always wanted to try using one but the price tag of $300+ is too steep for me. Something <=$150 would be nice.

      1. 4

        I went for Ergodox EZ as my first ortho/split keyboard, then built Kyria. And finally ended up with Keyboardio Atreus as my daily driver now.

        It’s not split per-se, but the angled hand posture is good, as I don’t have wrist pain any more that I used to have with regular keyboards. It’s small and single piece so I take it with me always in the laptop bag, I carry it in this sleeve, with 90deg rotated USB-C cable.

        And Atreus with QMK firmware and Miryoku layout (somewhat modified for better symbol layer) works really well. And it’s $149 so within your range.

        It is also hot-swap so if you want you can experiment with switches and keys later. I’m using Zealio Zilents now and MT3 Susuwatari (ortho set) caps. So the end price for me is higher, but it also beats any other keyboard I’ve used or built before.

        1. 1

          Atreus looks very pretty. I would have bought it as well but sadly the shipping cost and import duty take it out of my budget range. But thanks for the recommendations.

      2. 2

        I use with lifters; I think I clocked about $250 on it. I wanted mechanical keys, good wrist pads, and lifters.

    5. 1

      Have you considered other syncing options, such as WebDAV support?

      1. 3

        Plain Org plugs into the generic iOS file infrastructure, so if you have a cloud provider that gets picked up by the Files app, you’d have access to it (including syncing) from the org app. Dropbox and Google Drive seem to work fine. I haven’t tried WebDAV, but someone reached out to me recently and mentioned it should be possible based on a couple of search results (see below).

        If you get WebDAV syncing set up, I’d love to hear back. I’ll have a go with fastmail’s webDAV server

        1. 1

          I just signed up to test Plain Org today and will try out git workflow with Working Copy app via Files integration. Should be seamless as far as I can see.

          1. 1

            Keen to hear back! I sure hope to make the app seamless, but please keep in mind it’s still pretty early days (alpha). Striving to put a good qualiity app out there, but you know… it’s software. If you run in to issues, I’m keen work through them. There’s a feedback menu item that composes an email (you can attach logs).

        2. 1

          On a somewhat tangent, someone just mentioned they are using the app with, a service I didn’t know about.

        3. 1

          Hmm, I don’t have high hopes on the route that thread suggests. It looks like people can access WebDAV in Numbers and Pages but not Files? Sadly Apple doesn’t support WebDAV natively in Files.

    6. 8

      I can see this causing trouble in certain environments. And article mentioned 90 env variables is even not that many. For example in a quite busy Kubernetes namespace I right now have pods that have not disabled enableServiceLinks in PodSpec and have ~700 env variables set (each Service gets bunch of env vars automatically set for every exposed port).

      1. 5

        This is exactly what happened to the application I mentioned in the post. Prior to migrating to Kubernetes I think this app was run in an environment with only a couple dozen variables. And after the move to Kubernetes I think we had around ~1200 set.

        1. 3

          I have been unamused with Elixir apps on Kubernetes and Docker, but here we are. :(

    7. 4

      I keep hoping to see edn make a wider appearance outside of Clojure realm but it is rare. Much nicer format, but I guess it doesn’t map too well into native data types in other languages?

      1. 4

        I used it for a project; it was fine for that. I think mapping it to native datatypes is not an issue (used it for serialization between go and elm back then with no issues).

        The main problem as I see it is that there’s a mismatch between the grandiose claims of the original announcement and the maintenance work that has gone into it since. The spec seems ot have been abandoned pretty much directly, check the github issues.

        That, and it’s a bit too closely tied to clojure – the spec is incomplete, and the de facto reference implementation appears to be the clojure interpreter. That’s not really good enough for a cross-language format.

    8. 2

      One of such useful tool is CyberChef, it has all kinds of encoding/decoding tools one would Google for in need, all built in. Even validation tools for JWT, so you can keep your secrets local, not paste them to public website.

      There’s an online version of this, but it is also downloadable (just HTML and bunch of JS). I run my offline copy as a “native app” under macOS with FluidApp.