HNHacker News
TopNewBestAskShowJobs

nslog

295 karma · joined July 26, 2017

submissionscomments
nslog··on Specifications Are the New API Between Product and Engineering
Have you seen my stapler?
nslog··on Property-Based Testing Caught a Security Bug I Never Would Have Found
This is a great talk. More technical videos should be done from the basics like this.
nslog··on Property-Based Testing Caught a Security Bug I Never Would Have Found
Didn't react just have basically the same vuln
nslog··on Problems with AWS Amplify and its use of DynamoDB
This is spot on. Parts of Amplify are aimed at people just getting started with Cloud and Programming, which is good and bad. You can shoot yourself in the foot if you drive the car too fast. I think a lot of more advanced people use Amplify services along with the Amplify client SDKs and then do the provisioning using CDK rather than the Amplify CLI.
nslog··on Problems with AWS Amplify and its use of DynamoDB
Eh their documentation is pretty clear about all this stuff and all the new directives released a couple years back (like the PK and index stuff) clearly guide people towards using indexed queries and not scans: https://docs.amplify.aws/cli/graphql/data-modeling/

A lot of this is on the author IMO

nslog··on Problems with AWS Amplify and its use of DynamoDB
Stopped reading when this guy started talking about Single Table DDB being best practice and linking to AWS when he clearly did zero research on AWS recommendations with GraphQL including from the AWS Hero Alex Debrie he mentions: https://www.alexdebrie.com/posts/dynamodb-graphql/ https://aws.amazon.com/blogs/mobile/single-table-vs-multi-ta... https://aws.amazon.com/blogs/mobile/enhancing-dynamodb-singl...

Also he mentions the race condition around clients connecting to the backend between queries and mutations, then in the same breath says the DataStore client handles this but also it's mistake is being reliant on Subscriptions? This contradiction doesn't make sense.

There are some legit bugs in this article though that I've seen, like that Analytics one. It's really a Pinpoint issue though when you dig under the covers that I've been waiting for them to solve for years.

nslog··on AWS AppSync GraphQL APIs Supports JavaScript Resolvers
Finally
nslog··on Building Offline First Applications with AWS Amplify DataStore – Part 1
https://aws.amazon.com/solutions/case-studies/neimanmarcus-c... https://aws.amazon.com/solutions/case-studies/amazonmusic-am...
nslog··on Show HN: Easy Serverless GraphQL APIs with Serverless Framework AppSync
Pretty sure it doesn't stack up to Amplify + AppSync: https://aws-amplify.github.io/docs/cli-toolchain/graphql#aut...
nslog··on AWS Amplify Console
Yeah there was actually a blog on this: https://aws.amazon.com/blogs/mobile/aws-mobile-gets-amplifie...

"What’s happening with AWS Mobile Hub?

In the three years since we introduced AWS Mobile Hub, we’ve spoken to many developers. We listened to the feedback about what was difficult or confusing about developing mobile and web applications within the AWS ecosystem, and distilled that down to two problems:

Provisioning and maintenance of the mobile backend. Solved by using the Amplify CLI. Secure hosting and continuous deployment of web applications. Solved by using AWS Amplify Console. We took the great things that AWS Mobile Hub offered and added them to the Amplify CLI and the AWS Amplify Console. All of AWS Mobile Hub’s functionality and much more, are now part of AWS Amplify. Over the coming months, we will be encouraging all our developers to move their apps from AWS Mobile Hub to AWS Amplify."

nslog··on AWS Amplify Console
https://aws.amazon.com/amplify/faqs/
nslog··on Ask HN: Realtime collaborative back end as a service for mac development
With the requirements above, especially GraphQL and Conflict Resolution, AppSync is the way to go.
nslog··on Firebase outages and misleading status reporting
The Amplify and AppSync models are also architecturally more scalable as you don't have one big opaque DB and endpoint in a single region.
nslog··on Firebase outages and misleading status reporting
AWS AppSync and Amplify
nslog··on Firebase outages and misleading status reporting
Check out the AWS offerings (Amplify + AppSync) if you're rolling off Firebase: https://aws-amplify.github.io https://docs.aws.amazon.com/appsync/latest/devguide/welcome....
nslog··on AWS Amplify CLI or Serverless Framework for My Situation?
Amplify CLI is much more than just automation, it's also got an entire toolchain for GraphQL transformation plus a code generation layer for Swift, Java, and TypeScript. It's geared towards mobile and web developers as it can integrate with their local projects and scaffold out the configuration for using different services and plug into Amplify JS library or the AWS mobile SDKs. There are also escape hatches to manage everything yourself. Give it a try for a day before finalizing your decision.
nslog··on Google is killing Fabric in mid-2019, pushes developers to Firebase
Have you seen the AWS Amplify CLI along with the new GraphQL transform and codegen features? It largely eliminates the "forces you to learn about graphql" downside that you mention. Here is more info: https://aws-amplify.github.io/amplify-js/media/api_guide#usi...
nslog··on Show HN: Prisma – Turn Any Database into a GraphQL API
AppSync does this as well: https://aws.amazon.com/appsync/
nslog··on Show HN: Prisma – Turn Any Database into a GraphQL API
Yes - have a look at AWS AppSync https://aws.amazon.com/appsync/
nslog··on AWS AppSync – Build data-driven apps with real-time and offline capabilities
Yup: https://docs.aws.amazon.com/appsync/latest/devguide/security... https://docs.aws.amazon.com/appsync/latest/devguide/tutorial...
nslog··on AWS AppSync – Build data-driven apps with real-time and offline capabilities
But you can use RDS from Lambda: https://docs.aws.amazon.com/lambda/latest/dg/vpc-rds.html
nslog··on AWS AppSync – Build data-driven apps with real-time and offline capabilities
It does - you can do offline with Android and iOS too: https://docs.aws.amazon.com/appsync/latest/devguide/building...
nslog··on AWS AppSync – Build data-driven apps with real-time and off-line capabilities
DynamoDB is just one of the data sources that you can use, and any of them can be used for Realtime data with GraphQL subscriptions as well as authorization schemes: https://docs.aws.amazon.com/appsync/latest/devguide/tutorial... https://docs.aws.amazon.com/appsync/latest/devguide/real-tim... https://docs.aws.amazon.com/appsync/latest/devguide/security...
nslog··on AWS AppSync – Build data-driven apps with real-time and off-line capabilities
Realtime capabilities in AppSync are controlled by the developer with an event-based model using GraphQL Subscriptions: https://docs.aws.amazon.com/appsync/latest/devguide/real-tim...
nslog··on AWS AppSync – Build data-driven apps with real-time and off-line capabilities
AppSync has comprehensive Auth functionality including both AWS IAM and Amazon Cognito, plus FGAC capabilities for you to implement custom rules: https://docs.aws.amazon.com/appsync/latest/devguide/security...
nslog··on AWS AppSync – Build data-driven apps with real-time and off-line capabilities
The AWS AppSync pages are live now: https://aws.amazon.com/appsync/
nslog··on AWS Amplify – A declarative library for application development
https://github.com/aws/aws-amplify/blob/master/media/authent...

It's an easy way to build out your own UX for authentication flows and customize the experience.