Configuring the tooling for React is the biggest hurdle.
create react app is the easiest entry point to getting the tooling correct for a react app. You can eject later if you want advanced configuration.
npm install -g create-react-app
import java.util.AbstractMap.SimpleEntry; | |
import java.util.*; | |
import java.util.stream.Collectors; | |
import java.util.stream.Stream; | |
class Balance { | |
String hello = "hello"; | |
List<String> beginnings = Arrays.asList("[", "(", "{"); | |
Map<String, String> endingsToBeginnings = Collections.unmodifiableMap(Stream.of( | |
new SimpleEntry<>("]", "["), |
Configuring the tooling for React is the biggest hurdle.
create react app is the easiest entry point to getting the tooling correct for a react app. You can eject later if you want advanced configuration.
npm install -g create-react-app
Browser Type | Clean | Clean | Suspect | Suspect |
---|---|---|---|---|
PerimeterX Mode | Monitor | Blocking | Monitor | Blocking |
Excelsior Restarts | 1 | 1? | 2 | 3(+?) |
PerimeterX Restarts | 0 | 0? | 1 | 0 |
Enterprise SW | Internet Companies | ||
---|---|---|---|
biggest problem: | complexity of domain | biggest problem: | volume of data |
leads to: | business logic | leads to: | complexity of data infrastructure |
solution: | Event Sourcing | solution: | Stream Processing |
From Martin Kleppman's Event Sourcing and Stream Processing at Scale from Domain-Driven Design Europe 2016 presentation
Stream Processing, Event Sourcing, Reactive, CEP... and making sense of it all
#!/usr/bin/env python | |
import boto3 | |
from datetime import datetime | |
import json | |
import sys | |
import re | |
def json_serial(obj): | |
"""JSON serializer for objects not serializable by default json code""" |
#!/bin/bash | |
# expects the lambda function .py file to be in the same directory as this script. | |
# based off of Amazon's official documentation: | |
# http://docs.aws.amazon.com/lambda/latest/dg/with-s3-example-deployment-pkg.html#with-s3-example-deployment-pkg-python | |
# get the lambda function | |
lambda_func_file=$1 | |
lambda_func="${lambda_func_file%.*}" | |
# exit if no file specified | |
[[ -z "$1" ]] && { echo "Lambda function is empty" ; exit 1; } | |
# generate a deployment timestamp |
#!/usr/bin/env python | |
import argparse | |
import logging | |
try: | |
from urllib import splittype | |
except ImportError: | |
from urllib.parse import splittype | |
import boto3 |
#!/usr/bin/env python | |
import argparse | |
import boto3 | |
import fnmatch | |
import json | |
import logging | |
import re | |
from collections import OrderedDict | |
from datetime import datetime |
#!/usr/bin/env python | |
import argparse | |
import boto3 | |
import fnmatch | |
import json | |
import logging | |
import re | |
from collections import OrderedDict | |
from datetime import datetime |