Monthly Archives: April 2023

Antranig Vartanian

April 27, 2023

I use the Skype mobile app once a month, usually to talk with friends and family. I just noticed this.

There’s a new tab/view named “Today” which shows a feed of articles… WHY???

Are all proprietary vendors trying to do “everything, everywhere” or what?

I have no words, I’m still shocked.

Reply via email.

Antranig Vartanian

April 25, 2023

This is just a test 🙂 I’m trying to configure and use child themes!

Update: Looks like it all works fine!

Reply via email.

Light & Dark Wallpapers for iOS: Solving a problem that Apple created

One of the best features of macOS is the ability to have Light and Dark, as well as Dynamic Wallpapers. You’d think that Apple has done some Apple-y way to implement that, but not at all.

It’s actually part of the High Efficiency Image File Format that allows sequences which are multiple time-related images.

Here’s an example of Ventura’s default wallpaper.

Ventura graphic

As you can see, it’s multiple images.

So a while back, I thought hey, I can make a Light & Dark wallpaper for myself, which I did.

SCR 20230414 w9m

For some reason, I forgot to use these wallpapers on my iPhone and iPad. Days ago I tried, and oh boy, Apple messed up again.

Here’s how the image looks like on iOS/iPadOS.

Heic

It just loops over the images and if you try to set it as a wallpaper it sets the first one. That’s it…

Anyway, now that I’ve complained about Apple, let me show you how to use “Dynamic” wallpapers. Again, this is just a hack, it would’ve been easier if Apple just tested their own wallpapers on iOS/iPadOS.

Let’s start with iOS first.

Setup two identical wallpapers using the new iOS lock screen customization thingie.

IMG 6553
IMG 6554

After that, setup a Shortcut automation to set the wallpaper based on time. In this case, I use sunset and sunrise.

IMG 6551

The automation itself looks like this.
IMG 6552

Fun fact: Apple messed up again. You know how your iPhone changes appearance automatically between Light and Dark mode based on sunset and sunrise? Well, it doesn’t match with Shortcuts automator! the Shortcut automator will set your wallpaper sooner than iOS changes its appearance. I guess they each have their own “calculation” of when sunset/sunrise is.

Okay, but this wasn’t that hard.

How about iPadOS. Well, that’s more complicated.

First, you need to have a copy of each wallpaper (light and dark), and then you have to put them into an Album.

After that, you need a Shortcut automation that looks for these images and sets them as a wallpaper. Another inconsistency that we really didn’t need between platforms…

Here’s an example.

IMG 0125

Here’s the automation itself

IMG 0127

Fun fact: Sometimes iPadOS will forget to set the wallpaper and you’ll get a notification that says “Missed automation” or something like that. I forgot to screenshot that, but if you have an example, please do send me an image.

Congratulations, now you have Dynamic Wallpapers on iOS/iPadOS.

That’s all folks…

Reply via email.

libucl wrapper in Oberon-2 for Vishap Oberon Compiler

Like I said in my previous post, this is a long project and it relies on a lot of things 🙂

Wrapping libxo was fun, but wrapping libucl was way more complicated. However, it is done. It’s not a complete port, however, it has the basics to get started. The goes is to have all wrappers match the their libraries.

The source is at antranigv/voclibucl and here’s a screenshot of what it can do.

Screenshot 2023 04 08 at 6 46 14 PM

Next, I will be improving these wrappers and then work on lzc, a.k.a. Lib_ZFS_Core 😉

See you soon 🙂

Reply via email.

Antranig Vartanian

April 7, 2023

At this point all I want is MarsEdit for iOS. I just noticed that I haven’t logged into my WordPress website using the admin interface for weeks, which means that MarsEdit is REALLY awesome.

On the other hand, the WordPress App on iOS is very much tied with the WordPress services such as WordPress.com and Jetpack. While I like both services and recommend them to friends, they are not for me, so that’s a pass…

MarsEdit for iOS, I’d even pay monthly for that.

Reply via email.

libxo wrapper in Oberon-2 for Vishap Oberon Compile

I’m working on a new project, which is still only 10% done. For that project I chose to use the Oberon–2 programming language and the Vishap Oberon Compiler.

After seeing libxo on FreeBSD, I’m not sure I can go back to write or printf, so I decided to write an Oberon wrapper for it.

I just finished the basics but it’s already usable for day-to-day outputs, containers/lists/instances and exit codes.

The source is at antranigv/voclibxo and here’s a screenshot of what it can do.

Screenshot 2023 04 05 at 4 40 45 PM

Next, I will be wrapping libucl in Oberon.

See you soon 🙂

Reply via email.