Roman Desk Clock and Calendar

A place for you to show off what you have made with LiveCode

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
j9v6
Posts: 77
Joined: Tue Aug 06, 2019 9:27 am
Location: U.K.
Contact:

Roman Desk Clock and Calendar

Post by j9v6 » Sun Feb 25, 2024 10:16 am

Well, it had to be done. So I did it. A Roman Desk Clock and Calendar for iPad and iPhone written in Livecode.
iPhone 5-5 Black Landscape.png
Roman desk clock
See https://apps.apple.com/gb/app/roman-clo ... 6478309075 to read the blurb on the AppStore.

Apparently the longest date & time this century in Roman numerals is 23:38 on August 28th 2088 which is what it reads on the screenshot. (You can see I plan for the app to be running well into the future). My inspiration for the app icon was the time of day I built the first version for the AppStore.
RomanClock-Icon-144x144.png
Roman desk clock app icon
RomanClock-Icon-144x144.png (4.25 KiB) Viewed 927 times
Al 🥳

stam
Posts: 2686
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Roman Desk Clock and Calendar

Post by stam » Sun Feb 25, 2024 7:31 pm

Well I contributed ;)

Works well on desktop too... but would be cool if you had a quick tutorial for latin numerals built in :)

Hutchboy
Posts: 51
Joined: Wed Aug 01, 2018 2:57 pm
Contact:

Re: Roman Desk Clock and Calendar

Post by Hutchboy » Mon Feb 26, 2024 3:15 am

Hi,

I contributed too. It has a nice clean interface and I like the settings panel. I'd like to hear how easy/hard it was to get this onto the App Store.

-Mike

j9v6
Posts: 77
Joined: Tue Aug 06, 2019 9:27 am
Location: U.K.
Contact:

Re: Roman Desk Clock and Calendar

Post by j9v6 » Mon Feb 26, 2024 7:43 pm

Wait.. you bought it? You did! Thanks guys… I wasn’t trying for sales here. I just wanted to share that there’s another LiveCode iOS App out there and show some screenshots and images.

As for your suggestion.. I suppose I could add a help page to explain roman numerals… or link to Wikipedia?

There’s an update coming soon. As Roman numerals don’t have zero, midnight displays as just a colon. Technically this is correct, but I’m adding a little logic to show “MEDIA NOX” (Midnight) for the midnight minute instead. Hope you like it. I’ll probably add the Roman Numerals help link or info at the same time.

Cheers, Al.

stam
Posts: 2686
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Roman Desk Clock and Calendar

Post by stam » Mon Feb 26, 2024 7:54 pm

j9v6 wrote:
Mon Feb 26, 2024 7:43 pm
Thanks guys…
You’re welcome! Was just curious and £0.99 isn’t bank breaking exactly ;)
j9v6 wrote:
Mon Feb 26, 2024 7:43 pm
As for your suggestion.. I suppose I could add a help page to explain roman numerals… or link to Wikipedia?
Might be more work…. But a quick cheat sheet for the basics and a URL to a full reference?

Stam

j9v6
Posts: 77
Joined: Tue Aug 06, 2019 9:27 am
Location: U.K.
Contact:

Re: Roman Desk Clock and Calendar

Post by j9v6 » Tue Feb 27, 2024 8:55 am

Hutchboy wrote:
Mon Feb 26, 2024 3:15 am
Hi,

I contributed too. It has a nice clean interface and I like the settings panel. I'd like to hear how easy/hard it was to get this onto the App Store.

-Mike
Hi Mike, it’s not too difficult to get on the AppStore. There’s a process to follow as with most things. I found that following the Livecode lesson helped immensely as long as you can navigate any UI changes in the Apple apps and version of Livecode used in the lesson. https://lessons.livecode.com/m/4069/l/3 ... -app-store

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9670
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Roman Desk Clock and Calendar

Post by dunbarx » Tue Feb 27, 2024 3:17 pm

Hi.

Just curious, how did you implement successive values of the time display? A look-up table that was read second by second? Or perhaps some predefined sequences that can be called as needed?

Craig

j9v6
Posts: 77
Joined: Tue Aug 06, 2019 9:27 am
Location: U.K.
Contact:

Re: Roman Desk Clock and Calendar

Post by j9v6 » Tue Feb 27, 2024 4:48 pm

dunbarx wrote:
Tue Feb 27, 2024 3:17 pm
Hi.

Just curious, how did you implement successive values of the time display? A look-up table that was read second by second? Or perhaps some predefined sequences that can be called as needed?

Craig
Hi Craig,

I use the send command to update the clock every minute.

E.g. send “updateClock” to me in 60 seconds

My updateClock command calculates which roman numerals to use and updates the display.


Al.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9670
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Roman Desk Clock and Calendar

Post by dunbarx » Tue Feb 27, 2024 5:52 pm

My updateClock command calculates which roman numerals to use
That is what I was wondering about. You cannot really "calculate" the required new display, no? So I thought you either had a large look-up table (tedious to build) or some sort of rules-based gadget that determines the next reading based on the previous: (Pseudo)

Code: Select all

if char - 3 to -1 of tDisplay = "III" then put "IV" into char -3 to -1 of tDisplay
if char -2 to -1 of tDisplay = "IX" then put "X" into char -2 to -1 of tDisplay
...
That sort of thing.

Craig

j9v6
Posts: 77
Joined: Tue Aug 06, 2019 9:27 am
Location: U.K.
Contact:

Re: Roman Desk Clock and Calendar

Post by j9v6 » Tue Feb 27, 2024 7:14 pm

Well you could do it that way but it’s very long winded.
A simpler way is to use a constant with the numerals you need in it.

e.g. kNumerals = “I,II,III,IV,V,VI,VII,VIII,IX,X… etc”

Then select the nth item from the constant for the hours, minutes, etc. So something like 5:08 would give you V and VIII.

Al.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9670
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Roman Desk Clock and Calendar

Post by dunbarx » Tue Feb 27, 2024 7:22 pm

Ah, Of course.

I was stuck on thinking about a counter, as opposed to simply substituting values minute by minute. Unstuck now...

Craig

j9v6
Posts: 77
Joined: Tue Aug 06, 2019 9:27 am
Location: U.K.
Contact:

Re: Roman Desk Clock and Calendar

Post by j9v6 » Thu Feb 29, 2024 2:33 pm

Just uploaded version 1.0.1 to the AppStore with some enhancements for you. :wink:

stam
Posts: 2686
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Roman Desk Clock and Calendar

Post by stam » Thu Feb 29, 2024 7:03 pm

Cool update.

Still works perfectly on MacOS ("but not verified for MacOS").
I hope you may consider uploading this to the Mac App Store as well (easier to update my Mac lol)

Stam

j9v6
Posts: 77
Joined: Tue Aug 06, 2019 9:27 am
Location: U.K.
Contact:

Re: Roman Desk Clock and Calendar

Post by j9v6 » Sun Mar 03, 2024 8:07 pm

stam wrote:
Thu Feb 29, 2024 7:03 pm
Cool update.

Still works perfectly on MacOS ("but not verified for MacOS").
I hope you may consider uploading this to the Mac App Store as well (easier to update my Mac lol)

Stam
Now verified for macOS 👍

Post Reply

Return to “Made With LiveCode”