Posts

Showing posts from April 22, 2019

East Thrace

Image
Coordinates: 41°9′13″N 27°22′0″E  /  41.15361°N 27.36667°E  / 41.15361; 27.36667 "European Turkey" redirects here. For the Ottoman lands historically known as "Turkey in Europe", see Rumelia. East Thrace (blue) within Thrace East Thrace (blue) within the Marmara Region of Turkey East Thrace landscape in Edirne Province, Turkey. East Thrace or Eastern Thrace (Turkish: Doğu Trakya or simply Trakya ; Greek: Ανατολική Θράκη , Anatoliki Thraki ; Bulgarian: Източна Тракия , Iztochna Trakiya ), also known as Turkish Thrace or European Turkey , is the part of the modern Republic of Turkey that is geographically part of Southeast Europe. It accounts for 3% of Turkey's land area but comprises 14% of Turkey's total population. [1] The rest of the country is located on the Anatolian peninsula, geographically in Western Asia. East Thrace is of historic importance as it is next to a major sea-based trade corridor and constitutes what remains o

Node.js code works locally but does not work on AWS Lambda

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 1 I have a node.js function for AWS Lambda. It reads a JSON file from an S3 bucket as a stream, parses it and prints the parsed objects to the console. I am using stream-json module for parsing. It works on my local environment and prints the objects to console. But it does not print the objects to the log streams(CloudWatch) on Lambda. It simply times out after the max duration. It prints other log statements around, but not the object values. 1. Using node.js 6.10 in both environments. 2. callback to the Lambda function is invoked only after the stream ends. 3. Lambda has full access to S3 4. Also tried Prom