HNHacker News
TopNewBestAskShowJobs

talawahdotnet

509 karma · joined September 3, 2015

submissionscomments
talawahdotnet··on C5 Instances for EC2 Now Available
Very interesting. Has anyone noticed any difference in boot times?

If they are announcing things like a brand new hypervisor ahead of re:Invent one wonders what they are saving for the main event...is it too much to hope for managed Kubernetes?

talawahdotnet··on Why PostgreSQL is better than MySQL
> Why do you think it's more difficult to report a bug this way, compared to a bug tracker?

As an end-user the first thing I want to do before reporting a bug is search and see if it has already been reported or if it is being worked on and when it is expected to be released. If I was told that I had to dig through mailing list I would probably just stop before I even started.

> Can you explain why you think a mailing list is less efficient than a bug tracker?

As a bug reporter, I want a friendly way efficiently search and filter existing bugs based on status, version, subsystem, etc. I also want to be able to subscribe to a specific bug to get updates. Maybe you guys have some way to get all those features from a mailing list, but new users certainly won't have a clue.

As a developer I want to be able to easily tag, filter, assign and triage bugs. Assign priorities and associate them with releases and pull requests. I also want to be able to do high level reporting.

talawahdotnet··on Why PostgreSQL is better than MySQL
That seems like a bit of a false dichotomy. Do the Postgres Devs genuinely see having a bug tracker as a "bad thing"? Or are they just stuck in their ways at this point?

A mailing list hardly seems like an efficient method for tracking bugs unless a major part of the efficiency is reducing signal to noise by make it more difficult for non-developer or non-paying users to file bugs

talawahdotnet··on V8, Advanced JavaScript, and the Next Performance Frontier [video]
Demo showing how to debug node code using Chrome DevTools at 26:18[1]. Very cool if you don't already have a full blown IDE with debugging built in. Or even if you just want to inspect some random node library/code on the fly.

1. https://youtu.be/EdFDJANJJLs?t=26m18s

talawahdotnet··on Getting Started with Headless Chrome
That proxy already exists. It is called ChromeDriver[1][2] and was developed in collaboration between the Chromium and Selenium teams. It is the same way that Selenium/Webdriver controls regular Chrome now.

It would have been nice if they at least mentioned it in the article since Selenium is such a popular browser automation tool. They do in fact mention it on the README page for headless chromium.

[1] https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver

[2] https://sites.google.com/a/chromium.org/chromedriver/home

[3] https://chromium.googlesource.com/chromium/src/+/lkgr/headle...

talawahdotnet··on IBM has decided to co-locate its US marketing department
Could also be presidential quote. This timeline we are on is really weird.
talawahdotnet··on AWS Aurora entry-level pricing cut to $30/mo ($24/mo for reserved)
Aurora now supports db.t2.small instances which means that you can now try it out for just $30/mo ($0.041/hr x 24 x 30.5) or $24/mo if you opt for a no-upfront-fee 1 year Reserved Instance. A more highly available two instance/Multi-AZ setup would cost you twice as much. This comes on the heels of the previous price drop from $200+/instance to $60/instance when they announced support for db.t2.medium instances in November last year.

Straight up MySQL RDS is still cheaper at approx $25/mo for db.t2.small and $12.50/mo for a db.t2.micro instance (not supported by Aurora). But since Aurora data is stored redundantly and recovery happens automatically, even a single instance setup is probably better that what a lot of people are running now.

AWS claims automated recovery times of 15 mins for a single instance and less than 60 sec for a Multi-AZ configuration[1]. Seems like this entry level Aurora instance should be a no-brainer for anyone running MySQL RDS on a db.t2.small instance in a production-like environment today without high-availibility.

Full pricing list here: https://aws.amazon.com/rds/aurora/pricing/ [1] https://aws.amazon.com/rds/aurora/faqs/

talawahdotnet··on AWS Lambda – Best practices
Agreed, at first I was skeptical because the marketing message on the site seemed a bit over-hyped, but it turns out it is a really valuable tool for streamlining both testing (invoke local) and deployment when working with Lambda. New users also benefit for the basic scaffolding (severless create) and the documentation is pretty decent.

I have tried kappa (Python) and node-lambda (Node.js), and serverless works better than both of them, is more frequently updated (Lambda and API Gateway themselves change frequently), supports more languages (I have used it with Java, Python and Node.js) and has a much larger, more active community.

The API gateway support is pretty simple and solid, and they also allow you to use cloud formation rules directly so it is very flexible.

talawahdotnet··on Ask HN: Is S3 down?
Maybe they are hosted on S3 facepalm or maybe they just got a surge in traffic
talawahdotnet··on Ask HN: Is S3 down?
There was an alert on the personal health dashboard[1] a second ago, it said S3 Operational issue in us-east-1 but when I tried to view the details it showed an error.

Then I refreshed and the event disappeared altogether.

[1] https://phd.aws.amazon.com/phd/home?region=us-east-1#/dashbo...

talawahdotnet··on Ask HN: Is S3 down?
Yup it looks so. My console says I have zero buckets, my Lambdas are timing out and https://aws.amazon.com/ returns a big:

"500 The server encountered an error processing your request." message

talawahdotnet··on Start building Actions on Google
Their basic unsupported tier (up to 1 query/sec on avg) is free. You have to contact them if you want pricing for a supported plan.

This type of opaque pricing normally annoys me, but they were recently acquired by Google so I expect the pricing to eventually become more transparent and most likely be fairly reasonable.

https://api.ai/blog/2016/09/19/api-ai-joining-google/

talawahdotnet··on Start building Actions on Google
This looks pretty cool. The api.ai interface looks much more approachable (and logical) than Alexa for someone who is just getting started. I played around with Alexa a little bit, but creating a bunch of json and text files to map utterances, intents, schemas, etc felt way too clunky and unintuitive.

The api.ai UI for building interactions looks way more approachable and developer friendly. On top of that it looks like they are building out support for multiple platforms (Slack, FB, Alexa, Telegram) so you can (maybe) have a central integration point for your all your chat apps. Some of the integrations look very basic though.

The biggest downsides are that I have never heard of these api.ai guys before and the pricing beyond their free tier (1 query/sec) requires you to contact them, yuck.

Edit: Looks like I spoke too soon. Apparently they were acquired by Google recently[1]. I was wondering why Google was making this startup so central to their product. Now they just need to be more transparent on pricing, but I guess they are testing the waters right now.

1. https://api.ai/blog/2016/09/19/api-ai-joining-google/

talawahdotnet··on Serverless Comparison: Zappa vs. Chalice
I get where you are coming from, but things are often less Machiavellian than they seem, even if they feel that way. The Chalice team seems to have their own ideas about how to approach the project, some may overlap with yours and some may differ, from the conversation in the issue you mentioned (https://github.com/awslabs/chalice/issues/27) it seems like they were open to discussing ideas, but they wanted the freedom and control to experiment in their own project.

As with most ideas there is room for different projects and approaches and the landscape is constantly changing so it will be hard to tell which will survive. Even API Gateway's recent addition of the proxy integration feature makes things a lot simpler and probably made some code from all these frameworks less relevant.

So yes the internal AWS "team" has advantages in terms of being able to post to their blog and perhaps being privy to internal developments before you are, but that is just the way it is. Looking at GitHub the team appears to really just be one person https://github.com/awslabs/chalice/graphs/contributors. I just think we should have an open mind and allow for the possibility that they are trying to explore their own ideas and address what they perceive as their customers' needs rather than assume they are trying to crush all similar projects in the name of corporate greed.

talawahdotnet··on AWS Step Functions – Build Distributed Applications Using Visual Workflows
Another example just occurred to me. Say for example that I need to download a CSV from a third-party everyday, but their server is not reliable, so sometimes it times out, or sometimes the file is not uploaded when it should be.

With Step Functions it is now trivial for me to write a simple Python lambda to do the HTTP request and then have the state machine deal with retrying with an exponential backoff (30min, 2hr, 8hr) for as long as I want.

If you wrote that by hand you would either need a long running process or you would need to manage scheduling and state management yourself.

I was actually planning on doing something like this with lambda, but I was basically just going hack something together to fire the Lambda multiple times per day using CloudWatch Events and then use DynamoDB to keep track of whether or not I had already succeeded. This is much more elegant and robust and you get a visual overview and execution history for free.

talawahdotnet··on AWS Step Functions – Build Distributed Applications Using Visual Workflows
Well similar to SWF it looks like they provide the infrastructure for tracking the state changes and the input/output data at each step so you can:

  (1) Quickly get a visual overview of all your executions

  (2) See  how many workflows failed 

  (3) Drill down and see which specific step failed and the data that might have triggered the failure 

  (4) re-run specific workflows
It provides built in error handling, retries/backoff, and parallelization. These are all things you could code yourself, but at some point you would have built a workflow system. Not to mention that the infrastructure of the workflow system itself is managed for you, so you don't have to worry about that going down. You can write workflows that execute over days, weeks or months and not worry about what happens if your server goes down.

It would also come in handy for mutli-language workflows. If your were interacting with a variety of third party APIs that had SDKs in different languages, you could quickly string together a Python Lambda, Java Lambda and some .NET code that used the long polling API.

It would be nice if it integrated seamlessly with Cloudwatch and X-Ray to provide a unified view of logging and tracing right from the same interface.

I also expect a more seamless integration with AWS Batch at some point. Could be useful for chaining together multiple independently maintained batch processes (video conversion, resizing, publish to youtube).

I personally use SWF for a 10 step e-commerce workflow that calls multiple API. It works great, but I could have developed it much more quickly using Step Functions if it were available at the time.

talawahdotnet··on AWS Step Functions – Build Distributed Applications Using Visual Workflows
Nice. So this is basically a replacement for SWF (Simple Workflow Service) that allows you to build the decision steps using a GUI/JSON and allows you to execute tasks using either Lambda or the traditional activity pollers. Building a multi-step workflow that handles branching, retries and failure just got a lot easier.

I was hoping they would do something like this, working with SWF has always felt unnecessarily complicated. The Java Flow Framework just felt like an awkward abstraction to me, but this makes a lot more sense.

Combine this with their new AWS Batch service and I think people are going to save countless man hours that would have otherwise been spent working on repetitive, undifferentiated code.

talawahdotnet··on Going Serverless: AWS and Compelling Science Fiction
For binary content I would recommend serving those files directly from S3 via Cloudfront under a different domain. Lambda and API gateway really aren't set up to work with binaries right now. Even serving .csv files requires some workarounds.

FYI it is also possible to go directly from the API Gateway to S3 without going thru Lambda

talawahdotnet··on More Details Emerge About the Soylent Food Bars Making People Sick
> "What does this all mean? It means if you have a Food Bar with the expiration date July 14, 2017, it might benefit you to throw it away."

That seems a bit reactionary. A large number of the bars will have the same expiration date even if they were produced in different batches or facilities.

This whole piece seems to be designed to stir up emotions rather than provide real analysis. It is fine to express concern when people are getting sick, but this seems more like a attack. The default assumption seems to be that the Soylent team is hiding something, which does not seem consistent with Rosa Labs' previous disclosures about production issues.

Anyway I have been eating bars from a box with the same labeling (B1-00CAR BEST BY 1966 14JUL17 0716) for weeks with no ill effects. Rather than throwing all their product away if someone is worried they can try consuming a small portion of a bar first and then wait to see if there are any ill effects.

talawahdotnet··on How Candy Japan got credit card fraud somewhat under control
I currently use Maxmind's midfraud service. It is useful for identifying KNOWN fraudulent email addresses and proxy servers but not much else. It is just one of the signals that I currently use as a part of a fairly manual fraud review process.

I have evaluated a number of different options and I am about to start using Sift Science[1]. In addition to using standard ip address/email based information they also use social data and machine learning to identify fraud.

Their API/data model is the most well thought out and comprehensive one that I have come across and they allow you to back-fill up to 12 months of historical data for free to help improve your detection rates. They also have a console to assist with optional manual review workflows and store integration apis to allow full automation.

On top of all that they offer scalable pricing that works for both large and small business at 6c per transaction.

Obviously I can't vouch for their results yet, but what I have seen so far looks pretty good. If you have a fraud issue you should at least check them out.

[1]https://siftscience.com/

talawahdotnet··on Ubuntu on Windows
Yea, I think they are going after developers who use OS X because it is UNIXy. Smart move given how en vogue Apple laptops have become for developers these days.
talawahdotnet··on Elastic Beanstalk Support for Go and Java
Anybody try this out yet with an app server like Jetty or Wildfly Swarm? I am curious if it supports a way to do graceful shutdown/restarts but I didn't find anything in my initial scan of the documentation.
talawahdotnet··on Ask HN: What is the best recommended domain name registration site?
I used namecheap for a while, they are pretty decent. I switched to https://www.namesilo.com about a year ago because namesilo doesn't charge you extra for domain privacy.

Namesilo keeps pricing very low, simple and straightforward ($8.99/yr for .com). I haven't had any problems with them so far.

Stay far away from GoDaddy, they try and lure you in with discounted pricing then jack up the price on certain features later on. They are constantly trying to up sell you something else and they make transferring your domain away unnecessarily complex. At least that was the case when I last used them.

talawahdotnet··on My Brother's Keeper
Though she hasn't spoken to him, that doesn't necessarily mean that she hasn't received permission by some other means (e.g. by letter or via third party).

She made a comment in the Verge forums clarifying that she did in fact have his permission.

http://www.theverge.com/2015/9/2/9247915/addiction-feature#3...

← PreviousPage 3 of 3