Using Polly with Lambda

Tried using Polly with Lambda and here’s the code: import json import boto3 def lambda_handler(event, context): # TODO implement polly_client = boto3.Session(region_name=’us-east-1′).client(‘polly’) # aws_access_key_id=, # aws_secret_access_key=, # region_name=’us-west-2′).client(‘polly’) response = polly_client.synthesize_speech(VoiceId=’Joanna’, OutputFormat=’mp3′, Text = ‘This is a sample text to be synthesized.’) file = open(‘/tmp/speech.mp3’, ‘wb’) file.write(response[‘AudioStream’].read()) file.close() s3 = boto3.client(‘s3’) with open(“/tmp/speech.mp3”, “rb”) as […]

Read more "Using Polly with Lambda"

Happy New Year 2018!

Time to start posting again – it’s 2018! Been reading up on a few things so here’s a list: How Lightning Network works Demystifying Hashgraphs (it’s permissioned btw) Fundamental Challeges to Public Blockchains by Preethi Kasireddy Hugo Nguyen on Charlie Lee divesting his LTC Naval Ravikant on how the blockchain will replace existing networks with […]

Read more "Happy New Year 2018!"

Back from Bali

I was wondering where everyone was going to go for their Holy Week and for some reason, most of my friends whom I polled just said they would stay home. It seems everyone was either trying to enjoy the Holy Week break in the Philippines where all traffic just disappears or everyone was reserving their […]

Read more "Back from Bali"

It’s Angel Hack Manila #AngelHackMNL time!

Just in case you missed it – AngelHack is now in Manila! The EventBrite Page is here! Coverage InterAksyon http://www.interaksyon.com/infotech/angelhack-silicon-valley-awaits-manila-winners-of-global-hackathon http://www.sunstar.com.ph/cebu/business/2013/05/20/smart-ideaspace-invite-devs-hack-their-way-silicon-valley-283216 Blogs http://renz15.wordpress.com/2013/05/30/angelhack-manila-2013/ http://www.benteuno.com/2013/06/angelhack-manila-what-hack.html

Read more "It’s Angel Hack Manila #AngelHackMNL time!"

Dakila party at PETA

I’ll try to update my blogs more now that WordPress allows you to just cut & paste Instagram links into your blog. Here’s some photos from last night’s Dakila.ph’s ActiveVista HumanRights Film Festival 2012 closing ceremonies and awarding at the PETA-Phinma theater. View this post on Instagram with the lovely lovely @stephltan of @DakilaPH A […]

Read more "Dakila party at PETA"