marcofeltmann / dailymotivationals Goto Github PK
View Code? Open in Web Editor NEWSome learning approach in iOS app development with Swift
License: The Unlicense
Some learning approach in iOS app development with Swift
License: The Unlicense
It would be nice to have Siri motivating me after saying something like "Hey Siri, chear me up!"
Siri should not use the Pick Of The Day feature since she simply will repeat herself.
She may need an own randomization algorithm without or with some very short caching.
Motivational Data
typeMotivational Data
type as long as "valid until" is in the futureImplements the MotivationalProviding
protocol
Since I expect the amount of data to be somewhat huge (having one year without repetitions means 366 items) it must be fast.
A Media Type
can exclusively hold one of the following media files:
In contrast to earlier approaches it must not handle any interaction with the represented media since this is application space activity.
media type
tag
s, where "several" means element N0!An object implementing CacheProviding
must be provided:
Show the Motivational Of The Day on the big screen
Since we now need some real deal there are decisions to make:
Core Data
provides great iCloud interaction and is perfect for Apple UniverseRealm
is a great alternative when it comes to compatibility outside the Apple bubbleSQLite
is the One-That-Works-Everywhere approachStuff like JSON, XML or binary plist will not be considered since they are memory-consuming when you try to filter or search for some specific piece of data.
has a title
optionally has one string for finer limitations
since there may be date and time strings in the limitation fields they must conform to ISO 8601
title: "self esteem"
title: "duplicate"
// Specify which sub-part this addresses
title: "self esteem"
limitation: "ability"
// Specify which item is duplicated
title: "duplicate"
limitation: "uuid:1983A8-12BC78-00CFDE-128793"
// Or just do something else...
title: "last picked"
limitation: "2020-02-15T09:12:45+01:00"
title: "submitted"
limitation: "by Effchen"
title: "imported"
limitation: "2020-01-31T01:23:01Z"
It would be nice to have quick access to the Motivational Of The Day without the need of starting the app.
How should this look like? Message only? Message with emoji placeholder for attached media type? Preview the media type?
On each day the user should be notificated to get a new motivational (if settings allow notifications for the app)
Simply say "A new Motivational is available!" or more speaking "Todays Motivational: You are fucking Awesome!
The first seems somewhat useless, unless you want to be reminded to cheer yourself up since you always forget it.
The second one may render the whole "Motivational Of The Day" functionality of the application obsolete since it provides another UI for this.
A protocol which supports playing the represented media.
Only suitable for videos and audio files.
The Motivational Of The Day should be displayed on any connected Apple Watch as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.