@ctietze@mastodon.social
@ctietze@mastodon.social avatar

ctietze

@ctietze@mastodon.social

Developer of indie macOS apps. The Archive, WordCounter, TableFlip, Move!

Using #Xcode to write #Swift and sometimes #SwiftUI apps for #iOS and #Mac.

OG #Zettelkasten zealot.
Local #urbansketchers group founder.

#Bielefeld (Germany)

─────────────
#fedi22

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

ctietze, to swift
@ctietze@mastodon.social avatar

Which way using result builders would you use to express emptiness of the builder block result?

https://github.com/CleanCocoa/DeclarativeTextKit/issues/9

I do have an Identity type that's somewhat like EmptyView in SwiftUI.

Maybe the question is misguided and the actual problem is not that I should check whether the block is a no-op, but instead not perform effects in evaluation of blocks. 🤔

ctietze, to random
@ctietze@mastodon.social avatar

@xenodium Don't you run emacs-plus on your Mac? Does your Emacs act up and all but freeze when you interact with the macOS native main menu?

ctietze, to random
@ctietze@mastodon.social avatar

Ugh what happened to that iPhone mockup

ctietze, to random
@ctietze@mastodon.social avatar

This is all just because GOG/Baldur's Gate wouldn't load

ctietze, to random
@ctietze@mastodon.social avatar

Ugh, I still can make Emacs hang during org mode buffer exporting

ctietze,
@ctietze@mastodon.social avatar

I take it back! The org buffer did finish HTML exporting. I left it running overnight

ctietze, to emacs
@ctietze@mastodon.social avatar

Anyone using #Emacs org mode with programmatic searches, e.g. with org-ql.el, or buffer regexp matching, who collects the resulting headings with body text?

Use case: my headlines are workout summaries, but below each headings there is a table with details and text with comments, and I want to concatenate the headings + the body text below into an export buffer.

A monthly overview, for example.

org-ql makes querying simple, but I don't manage to get beyond the headings :/

ctietze,
@ctietze@mastodon.social avatar

https://gist.github.com/DivineDominion/6724bcbf5932be5f890e7a708e92fea1

That code does

  1. iterate over all denote.el managed files within the last 30 days,
  2. looking at each org heading with the tag :training:
  3. copying the subtree into an export buffer

That was a wild ride. But it does export a month worth of training logs, so there's that.

ctietze, (edited ) to random
@ctietze@mastodon.social avatar

Imagine what could've happened to these daily stats -- if life didn't happen, I hadn't spent 2h by train there and back by car to the next city's car mechanic, went to the gym and shopped for errands, etc

Today was a 10k word day. It just turned out that I haven't spent all these words.

ctietze,
@ctietze@mastodon.social avatar

@TheBrowserCompany's Arc has a weird app icon apparently, as you can see the WordCounter won't be able to find it

ctietze, to random
@ctietze@mastodon.social avatar

What do you mean,

fzf word on files with **<TAB> by default?

https://github.com/junegunn/fzf?tab=readme-ov-file#files-and-directories

ctietze, to random
@ctietze@mastodon.social avatar

Knowledge is personal, manage it that way https://mcgeesmusings.net/2024/06/06/knowledge-is-personal-manage-it-that-way/

"The starting point for effective knowledge management in organizations needs to be knowledge management at the personal level. If you are a knowledge worker, effective personal knowledge management matters."

Amen!

#zettelkasten #pkm

ctietze, to random
@ctietze@mastodon.social avatar

I added a bare-bones feature to my blog to show all episodes from a blog series in a box at the top in an <aside> and in the post's footer as well.

Demonstrating with the "Declarative Text Kit" series:

https://christiantietze.de/posts/2024/05/declarative-text-kit-sketch-of-an-api/

I also just now noticed that the first post is a month old.

This takes a while!

dimillian, to random
@dimillian@mastodon.social avatar

There is a somewhat substantial political movement in France (and not only) about withdrawing support for Ukraine, winding down our alliances, leaving Europe, etc.
This is primarily the far left and right spitting out the Russian rhetoric that this will lead us to war if we don't do that.
People take for granted that we live in a free country because our allies saved us.
Europe, NATO, and our various alliances with democratic countries are the backbone of our modern civilized world.

ctietze,
@ctietze@mastodon.social avatar

@nonproductive @dimillian The EU as a concept is a tough sell, it's very 'cerebral'.

Imagine if all that holds the USA together were stories of the Confederacy vs Union wars. And then have every state speak their own language.

Europe hasn't intermingled enough in the past decades to make untangling impossible.

ctietze,
@ctietze@mastodon.social avatar

@nonproductive @dimillian Same feeling. Growing up with the internet of the early 2000's, it felt like utopia was just around the corner

ctietze, to random
@ctietze@mastodon.social avatar

I kind of miss in what Avy can do in Emacs. Jump to any piece of text on the screen. Sometimes that'd be neat :(

ctietze, to emacs
@ctietze@mastodon.social avatar

nerds, can you help me with the name of a concept?

We have multiple modes that collect snippets from other buffers, e.g. in occur-mode, rg.el, or 's "collect" buffers that are editable and will change the original location accordingly.

I'm thinking of "transclusion" here, but the most Emacs-y thing that comes to mind is, well, 'occur-mode' itself, but what's the name of concept of what occur.el does? 🤔

ctietze, to random
@ctietze@mastodon.social avatar

Amazing how I can have 32GB sitting in the system's Trash in 2024.

ctietze,
@ctietze@mastodon.social avatar

@jsq haha man are you excited early for WWDC? :D

ctietze, to random
@ctietze@mastodon.social avatar

Maybe I'm cynic.

But a phone that's US$1000+ is an ... interesting Father's Day gift.

As would be handing over a thousand bucks.

ctietze, to random
@ctietze@mastodon.social avatar

📝 Declarative Text Kit: Word Ranges
https://christiantietze.de/posts/2024/06/declarative-text-kit-word-ranges/

This is the worst part of the API, yet. I need to revisit and think this through some more to make the code readable. It's somewhat functional, but not robust or elegant.

ctietze, to random
@ctietze@mastodon.social avatar

Browser support https://adactio.com/journal/21184

More like a manifesto to have "websites just work". It's basically the promise of Progressive Web Apps: to not exclude or tailor, but to optimize, with a great baseline instead of a shoddy excuseof an experience.

joshua, to random
@joshua@nozzi.social avatar

Explaining my idiosyncrasies to a coding challenge reviewer while also demonstrating what it's like to work with me. A number of poor, innocent repositories are littered with evidence of my many, many neuroses.

ctietze,
@ctietze@mastodon.social avatar

@joshua do you have a macro for this? Wouldn’t want to weite this every time :)

ctietze, to random
@ctietze@mastodon.social avatar

🖥️ Hide macOS Menu Bar Icons (Bartender Alternatives) https://christiantietze.de/posts/2024/06/hide-macos-menu-bar-icons-bartender-alternatives/

ctietze, (edited ) to random
@ctietze@mastodon.social avatar

Ok, I managed to test a couple of string assumptions with Pinyin characters.

I can't figure out how to write RTL Arabic, though

ctietze,
@ctietze@mastodon.social avatar

@cocoaphony That’s a good trick, I’ll try that!

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