mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

#if

0 Beiträge0 Beteiligte0 Beiträge heute
Antwortete im Thread

@alpennec @b3ll I really with there was an .available(iOS 26, *).glassEffect() modifier. That would need to be a language feature, and it should be able to encapsulate version availability, as well as platform availability to get rid of the #if os(tvOS) conditional compiles.

Also there should be an "else" somehow.

Is there already a Swift-Evolution proposal for something like this?

Antwortete im Thread

@ranvel to be more specific, for a given folder PREFIX, this is my ncurses config:

./configure --prefix="$PREFIX" --enable-widec

and this is my nano config:

./configure --prefix="$PREFIX" --disable-nls --enable-utf8 --enable-year2038 NCURSESW_CFLAGS="-I$PREFIX/include" NCURSESW_LIBS="-L$PREFIX/lib -lncursesw"

With ncurses 6.5 and nano 8.5, that leads to a bunch of linker failures for imports with "$NCURSES60" suffix... which comes from Apple's SDK. And if you look at nano src, you can find this:

/* Prefer wide ncurses over normal ncurses over curses. */
#if defined(HAVE_NCURSESW_NCURSES_H)
#include <ncursesw/ncurses.h>
#elif defined(HAVE_NCURSES_H)
#include <ncurses.h>
#else
#include <curses.h>
#endif

So unless you define HAVE_NCURSESW_NCURSES_H, it will include the wrong header. And while HAVE_NCURSES_H shows up in configure, HAVE_NCURSESW_NCURSES_H does not...

#if#include#elif
Fortgeführter Thread

PersistentKeyValueKit remains unsherlocked and the most modern way to use UserDefaults & NSUbiquitousKeyValueStore for another year :)

I am personally a big fan of debug keys: mutable in DEBUG builds, immutable otherwise. Saves me a lot of `#if DEBUG` paths in my application code.

Die SDTB Dr. Juliane Hundert ist heute zu Gast bei den 6. IFG-Days des @lfdi.
👉 „Papier von gestern – Dateien für morgen. Mit KI und Portalen zu frei zugänglichen Informationen“
ℹ️ Programm: baden-wuerttemberg.datenschutz
Um 15:30 Uhr: "Vorstellung der Transparenzportale Sachsen und Thüringen"
👀 Stream: lfdi-bw.de/live

#Transparenz #Informationsfreiheit #IFGDays #LIFG #IF #KI #Demokratie
/ÖA

www.baden-wuerttemberg.datenschutz.de6. IFG-Days: Papier von gestern – Dateien für morgen | Der Landesbeauftragte für den Datenschutz und die Informationsfreiheit Baden-Württemberg
Fortgeführter Thread

@lfdi Programm 6. IFG-Days

9.00 h: Begrüßung

9.15h: @lfdi Tobias Keber über „KI-Modell(e) für die öffentliche Verwaltung“

9.30h: Workshops zu #LIFG Anträgen + best practices aus Offenburg und @freiburg, wie man #IF und Transparenz lokal umsetzt

11h: Dominik Schoop über "anonymisierte Erfassung und Nutzung von Mobilitäts- und Bewegungsdaten"

12h: @lpb und „Generative #KI im Praxis-Check“

14h: Führungen des Landesamt für Denkmalpflege

Ab 15.30h: Vorstellung der #Transparenzportale Sachsen und Thüringen + Diskussion. Mit @sdtb Juliane Hundert und #tlfd Tino Melzer!