vhost-
Joined 14 years ago
Karma
851
Submissions
271
Member since
Aug 17
Joined 14 years ago
Edit: I won't hold out that long here. Here's the link to the feature to make this possible for anyone interested: https://docs.qmk.fm/#/feature_advanced_keycodes?id=mod-tap
func get_value(key):
value = backend.get(key)
return value
Is way better than something along these lines: func get_value(key):
while true:
response = backend.get(key)
if response.type == "promise":
sleep duration
continue
return response.value
If your service looks like the former, then suddenly your unit tests can use a postgres database, a sqlite database, a rest client... that all implement the same backend.get(key) interface.I think if you want to stop working on a project, and it's on github, just leave a note in the README, archive it and move on with your life. Don't give the keys to someone on the internet.
[ my public key: https://keybase.io/xvx; my proof: https://keybase.io/xvx/sigs/5UC6RpBsbDaBe9xckngQBoYQbvT4-uziKKr7o-saUdU ]