Development

empty return for function giving back status 1

seems like a empty return, returns the last status. question is how was the status set to 1? It happened in the condition, since the condition was wrong it return 1, since return is empty it returned the last status. to fix, return 0; also, the same logic applys to[…]

Read More »

get return status from background process

this gets the process id for the background process you just ran now sleep for 2 seconds and see if the process still exists if you get this message that means the process died. If the process was meant to last longer, it is safe to come to the conclusion[…]

Read More »

sms using aws sns

without a origination number messages look like this https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-request-number.html make sure to choose transactional. Messages get sent immediately with no fail rate. Requests for long codes and toll-free numbers are usually approved immediately. If your request is approved, you can access your new phone numbers on the Phone numbers tab of the SMS[…]

Read More »