551 karma · joined March 20, 2016
E-mail: My username [at - without these brackets] Google Mail service com
[ my public key: https://keybase.io/piotrkubisa; my proof: https://keybase.io/piotrkubisa/sigs/48OF4qNZeEa0cZsAgANWMKn9vJZuQurNeBlQnl9rjDQ ]
[1]: https://awslabs.github.io/serverless-application-model/inter...
[2]: https://awslabs.github.io/serverless-application-model/globa...
[3]: https://github.com/awslabs/serverless-application-model/tree...
What is your issue with keeping Lambda instance alive? They mostly stay in standby mode some minutes to keep listening for requests and then it will shutdown whether staying idle - what means next request will boot a Lambda function (container?; It usually takes ~1 second), after that time to receive response is approx. ~100ms.
Personally, I don't imagine to provide aaaaaaaaa.execute-api.eu-west-1.amazonaws.com/v1/transactions/XXXX/cancel as a API endpoint in the documentation of some product. Well.. It'd definitely made my day if I will see such endpoint in i.e. Stripe docs. Everyone uses short like address like api.example.com so there is definitely use for custom domain name as a feature of API Gateway. Custom domains allows you to separate an API by base paths (i.e. Transactions API, Notifications API, Refunds API) and it easier to upgrade/shutdown... basically maintain your API. Also if you are interested from requests made in two AWS regions and you also care about latency regional endpoints might be way better. Of course, if you will use it with WAF and CloudFront you have a lot of things to configure, which for some companies might be important.
* How to configure caching and caching rules - please note there are few ways (query strings, headers, parameters, cache enabled only on single method etc.) to specify how to cache responses.
* Attach your REST API on custom domain as a regional endpoint (instead of edge-optimized, since regional endpoints are more configurable)- create ACM certificate (per each region, and one for CloudFront), create own CloudFront distribution (think: multi region deployment), add DNS record in Route53 and configure WAF (some magic DDoS protection).
I took me a lot of time with CloudFormation to get through where I am today and yet I think I would be grateful if someone will share his knowledge gained on more sophisticated use-cases than just 'Hello World'.
There are five ways to have update software on Ubuntu Linux these days:
* Ubuntu Store (snap).
* Via Flathub (flatpak).
* Official deb repository pool (apt-get).
* Community maintained PPAs (apt-get).
* Other, tools like appimage, nix, linuxbrew etc. etc.
If you are not fan of terminal tools, sometimes "Software Updates" popup will appear to ask you if you would like to install new updates.
By default there isn't any self-update enabled (please correct me if I am wrong), though it is recommended to configure automatic updates of unattended-upgrades [1]. In my experience 17.10 were asking about installing updates when you were shutting down or restarting OS.
[1]: https://help.ubuntu.com/lts/serverguide/automatic-updates.ht...
Edit: If my email was breached (and I would know it) I would probably reset password and logon to change all services to populate them with brand new credentials. Then I will try to minimize the threat (i.e. by making impossible to use my accounts - bail out emails, resting credentials or even removing accounts and e-mail) and then find out the best solution for specified scenario and recover after breach with implemented better security.
It would be great if someone with more knowledge in this field could provide a better solution for this issue.
Edit: Also you could reset password on your e-mail account if was breached.
Edit 2: There are also push notifications sent on mobile apps which acts like boolean type to accept or deny logon process.
Edit 3: If MITM is also laid down in discussion about possible threats then I think end-to-end encryption may help.
Edit 4: Banks usually use "Fill 3, 4, 15, 22.. character from your [placeholder: password, auth card]" method to get rid of key-loggers on clients PCs.
Edit: Good job on PAST and your other projects. I often follow your GitHub activity and publications to check on what interesting you are working currently.
Personally, I am thinking about developing an online service, which will be offerring general-purpose providing distribution of content to Kindle or other ebook-readers. Initially, I thought about creating only a app which will extract a article tag from website and create ebook from it (pandoc) or exactly a Pocket-to-Kindle. But when I was thinking more about it more ideas had come to my mind, HN-frontpage scrapper, simple notebook/orgmode adapted to Kindle Experimental Browser, markdown-files-to-ebook, arxiv-to-ebook converter, some kind of IFFTT pipeline (stream X from Y and save it as a ebook) and even trying to implement most of features known from Calibre application... If I could somehow help you as a developer or you are interested in bootstrapping some online service together I really would like to receive an e-mail from you. My e-mail address: (put my HN nickname here) at gmail.com
[1]: http://nats.io/documentation/streaming/nats-streaming-intro/
As a user of both Chromium and Firefox browser, I miss this option in tab's context menu in "stock" Firefox browser.
I mostly agree, but do a lot of RN modules are written in ES6 rather than TypeScript, so they are lacking type definitions [1]? Also I noticed a lot of modules which are just converted cordova plugins to RN.
[1]: Yes, I know. I can use anonymous definitions or use some magic tools...
[1]: https://imgur.com/a/hBkmq
// Chrome has copy as curl command.
[1]: GNOME3 has command pallete (ctrl+p) known from Sublime Text - https://github.com/p-e-w/plotinus