Page 1 of 1
Roman Desk Clock and Calendar
Posted: Sun Feb 25, 2024 10:16 am
by j9v6
Well, it had to be done. So I did it. A Roman Desk Clock and Calendar for iPad and iPhone written in Livecode.
- 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.
- Roman desk clock app icon
- RomanClock-Icon-144x144.png (4.25 KiB) Viewed 1164 times
Al
Re: Roman Desk Clock and Calendar
Posted: Sun Feb 25, 2024 7:31 pm
by stam
Well I contributed
Works well on desktop too... but would be cool if you had a quick tutorial for latin numerals built in
Re: Roman Desk Clock and Calendar
Posted: Mon Feb 26, 2024 3:15 am
by Hutchboy
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
Re: Roman Desk Clock and Calendar
Posted: Mon Feb 26, 2024 7:43 pm
by j9v6
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.
Re: Roman Desk Clock and Calendar
Posted: Mon Feb 26, 2024 7:54 pm
by stam
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
Re: Roman Desk Clock and Calendar
Posted: Tue Feb 27, 2024 8:55 am
by j9v6
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
Re: Roman Desk Clock and Calendar
Posted: Tue Feb 27, 2024 3:17 pm
by dunbarx
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
Re: Roman Desk Clock and Calendar
Posted: Tue Feb 27, 2024 4:48 pm
by j9v6
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.
Re: Roman Desk Clock and Calendar
Posted: Tue Feb 27, 2024 5:52 pm
by dunbarx
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
Re: Roman Desk Clock and Calendar
Posted: Tue Feb 27, 2024 7:14 pm
by j9v6
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.
Re: Roman Desk Clock and Calendar
Posted: Tue Feb 27, 2024 7:22 pm
by dunbarx
Ah, Of course.
I was stuck on thinking about a counter, as opposed to simply substituting values minute by minute. Unstuck now...
Craig
Re: Roman Desk Clock and Calendar
Posted: Thu Feb 29, 2024 2:33 pm
by j9v6
Just uploaded version 1.0.1 to the AppStore with some enhancements for you.
Re: Roman Desk Clock and Calendar
Posted: Thu Feb 29, 2024 7:03 pm
by stam
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
Re: Roman Desk Clock and Calendar
Posted: Sun Mar 03, 2024 8:07 pm
by j9v6
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