-
- Private work.
- Watched 6 more aws re:invent breakout sessions on serverless and event-driven architectures.
- Pubsub is usually push. SQS and eventbridge can both support this.
- Integrating two services directly is direct. Integrating a single service as a publisher or subscriber is even easier, and you can scale to way more than n=2.
- The decoupling for EDA is worth a lot.
- Also consider first principles. Every application is event-driven at its core. Time doesn’t mean anything. We have cause and effect. Action and reaction. The software should match the physics of the system.
- EDA avoids throttle, gracefully handles sender/receiver downtime, allows consumption at subscriber’s chosen rate, so many good benefits. Many-many becomes trivial. Eric Johnson: https://www.linkedin.com/in/singledigit/.
- I like this guy’s presentation style: https://www.youtube.com/watch?v=KXR17uwLEC8.
- Serverlessland has a lot of cool patterns. Specify your serverless framework (sam, cdk, serverless, etc) and your language (python, js, etc) and aws services you want to connect (lambda, rds, etc). It will give you a functional template to copypaste. Example: https://serverlessland.com/patterns?framework=CDK&language=Python.
- Step functions, standard vs express. Use the former for longer running tasks, or fewer state transitions. Express is usually better/cheaper for all others.
- Harvested and replanted top 2 gardens.
- psql.
- You can obviously group by multiple cols. Does order matter?
coalesce(value, default)
to convert nulls to something else (like 0), rather than using a full case statement. It will return the first non-null value, so you can use with iterables too.
- Can also use
ifnull(value, default)
for non-iterables in other SQLs.
- JP Morgan Chase alone processes >5k transactions per second. BTC is 7. Eth1 was a few times that. Eth2 can be closer to cc. Solana 65k.
- Supercontest.
- Lambda Web Adapter.
- Run webapps on lambda. https://github.com/awslabs/aws-lambda-web-adapter
- You have to package your app as a docker image. Lambda can run docker images instead of zip files.
- LWA is basically a shim that sits in the docker image between the lambda api and your http api. It will receive the event, handle it as necessary, and forward to your rest api. Then it will take the http resp and convert it to json for lambda return.
- No code changes. Multi-language/platform/framework. You can also continue developing/debugging/packaging/linting/testing in your familiar tools, rather than shifting all those SDLC workflows to new serverless processes.
- What about performance? You’re starting an entire webapp container and launching a webserver on every lambda function, yes. It’s a bit more overhead than starting a basic image with only that endpoint’s code, and no web interface.
- You also lose some granularity. Seems like you only have 1 lambda (basically the domain), and it manages all the routing natively in your app’s web framework. Unless a true serverless stack, where api gateway manages all endpoints and their corresponding lambda functions. This gives you granular logs/metrics/etc, native in the cloud – rather than requiring you to build it alongside your web framework.
-
- Private work.
- Mobile/internet.
- Verizon … still doesn’t have a login interface that works!
- Eventually got into verizone home on browser. Failed at verizon wireless. Used phone for the latter.
- FIOS is $70/mo.
- Plan: Unlimited data/msgs/mins. 2 lines. Both have upgrades.
- 5G play more (mine). 5G / 4G LTE. 5G ultra wideband. 25GB premium mobile hotspot.
- Basically the same as the current Unlimited Plus. Updated. Same price. Few extra perks. Will start next cycle.
- 5G start 1.0 (mom). 5G / 4G LTE. No premium network, no hotspot.
- Basically the same as the current Unlimited Welcome. Updated. $5 cheaper. Few extra perks. Start next cycle.
- Can upgrade to 15 pro max. Retail $1200. 256GB. Trade-in 13 pro max (128GB) for $830. So it’s about $500 after tax and everything to upgrade to latest. Can submit it all on phone, pay, get it delivered, transfer, drop off old phone, done.
- Confirmed amex plat saks credit landed successfully.
- Banks’ usage of “encrypted” email is pretty funny. Very inconvenient.
- If I can leverage the active mortgage hard pull to open another credit line without adding an inquiry, I will. Churn (1) chase freedom flex and (2) chase amazon visa.
-
- Private work.
- My ancestry is ~68% german/french ~25% british/irish ~2% native american.
- Remember (select1) union (select2) in psql. Totally fine with CTEs and everything else. Must match columns.
UNION ALL
won’t deduplicate.
- You can also
group by
then order by
and use an aggregate function in the latter, of course.
- Caught up on advents, niners, warriors, aquarium maintenance, etc.
- Remember you can
group by
with multiple cols.
-
- Private work.
DENSE_RANK
in psql.
- Magnus wins CCT final. 3 NFL. Big UFC. Warriors.
- New york botanical gardens.
-
- Private work.
- Of course, MSK = managed streaming for kakfa, aws service. Glue is obvioulsy the ETL tool native to AWS, as compared to MWAA.
- K8s lessons: https://hervekhg.medium.com/3-years-managing-kubernetes-clusters-my-10-lessons-b565a5509f0e
- Could use lambda function URLs (free) instead of API gateway, but you lose custom domain, cognito, more.
- Verizon bill increased substantial for an unknown charge, disputed (verizon support is garbage btw, can’t login to site an mobile just spins when you submit a dispute).
- Walked alllll over central park.
join USING (col1, col2)
instead of join ON table1.col1 = table2.col2
.
- Danny Devito on Broadway!
-
- Private work.
- Honey roasted 10lbs peanut butter again, maple syrup for holiday.
- CCT championship now has its two finalists: magnus and wesley.
- psql
UNION ALL
.
-
- Private work.
- Tavern on the green.
- Submitted REBNY. Quoted another lawyer. Greenlit chase+boa credit pulls for prequal.
- Gemini sent out a proposed plan of resolution. Each impacted party is supposed to vote to reject/accept it. The document is three hundred and seventy three pages long. Absolute bullshit. Give all the earn customers their money back? How about that? See how it took 8 words?
- Supercontest.
- RDS RI case resolved, refunded. Cost explorer shows the budget alarm in threshold now.
- Still waiting on pinpoint TFN registration.
- Updated banner.