You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that this cli could be useful as a final step in the shell rc configurations (to be greeted with a joke everytime a new terminal is opened), latency is important. Can some form of caching be introduced in this regard? One idea could be to have an init script that needs to be invoked via chuckle init that would download all the jokes and keep it in memory. Invoking it again would simply sync the local state with that has been published already. Whenever chuckle is invoked, a joke is fetched from this list on disk.
This discussion was converted from issue #2 on October 25, 2024 13:32.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Given that this cli could be useful as a final step in the shell rc configurations (to be greeted with a joke everytime a new terminal is opened), latency is important. Can some form of caching be introduced in this regard? One idea could be to have an init script that needs to be invoked via
chuckle init
that would download all the jokes and keep it in memory. Invoking it again would simply sync the local state with that has been published already. Wheneverchuckle
is invoked, a joke is fetched from this list on disk.Beta Was this translation helpful? Give feedback.
All reactions