Appended new lines to /Users/bparanj/.zshrc
Next configuration changes were made:
export PNPM_HOME="/Users/bparanj/Library/pnpm"
export PATH="$PNPM_HOME:$PATH"
To start using pnpm, run:
source /Users/bparanj/.zshrc
Appended new lines to /Users/bparanj/.zshrc
Next configuration changes were made:
export PNPM_HOME="/Users/bparanj/Library/pnpm"
export PATH="$PNPM_HOME:$PATH"
To start using pnpm, run:
source /Users/bparanj/.zshrc
The web app began with a simple UI with no buttons on the home page. After a few years, it had lot of buttons, similar to how Microsoft Word looks like. Not so good! How to design a product that is having the buttons and at the same time not having any buttons but provides all the features we need? Can we remove all the buttons to make the design simple and at the same time provide business value?
The general form of physical contradiction looks like:
X must have A and X must have -A
The thing X must have some property and the opposite property. We can break this contradiction by asking:
1. Do we need both A and -A at the same time?
2. Do we need both A and -A in the same space?
In the web app design case, we can choose the time as a way to separate the opposing properties. We can apply the Separation in Time principle to resolve this physical contradiction.
The design must be modified by removing all the buttons or as many buttons as possible on the home page. The button should appear only when the context is right during the use of the product. One of the reasons why the product became messy page with many buttons is that the app was very CRUD based.
It lacked clear messaging to the users when using the product and did not provide any next action to take during the workflow. By making the messages actionable, we can include the links that provides them a clear action to take to complete their task.
Step 1
Describe the problem in simple language covering all the main points.
Step 2
Re-describe the problem in a more general, conceptual way, stripping out the detail.
Step 3
Locate existing answers to the very general problem using the TRIZ Solution Catalog
Step 4
Use the solution triggers + your knowledge and experience to find pragmatic solutions.
Theory of Inventive Problem Solving
1. Systematic ways for defining and understanding problems
2. Using the four solution catalogs to solve them
1. Inventive Principles - For solving contradictions (conflicting requirements)
2. TRIZ Trends - Predict the likely evolution of products
3. Standard Solutions - For dealing with harms, inefficiencies and problems to do with measurement
4. Effects - Answer how to questions using the Effects Database
https://github.com/jejacks0n/apitome/issues/121
Based on some local testing, the apitome gem works fine on ruby 3.
PR merged: https://github.com/jejacks0n/apitome/pull/122
Start with the Ideal Outcome
Capture
1. All the benefits you want
2. The primary output of your system (the reason it exists)
Prioritize
3. What are the primary benefits?
4. Sort other benefits into 'must haves' and 'nice to haves'.
Action Item
Fill out the Ideal Outcome for Scoping New Inventions worksheet
What benefits do we want from an ideal provisioning and deployment system?
What benefits would an ideal system deliver?
Wave a magic wand over it and write down all the things you want.
Ideal Thinking
Imagine all the things you want without worrying about the constraints of any kind.
What are the downsides of the current systems in the market?
Context
Who needs to use this sytem?
In what circumstances?
WHAT
Deploy full stack apps (FE + BE + DB)
Deploy full stack apps without the need of all the technical skills needed for AWS
Prototyping - quick deployment
Build an entire pipeline (dev, test and prod)
Ship web apps without a lot of effort
Build app very quickly
Build, deploy and run your app very easily
Very helpful to build highly large data apps
Easy to deploy full stack applications fast without worrying about configuring
HOW
Connect your app using a Git repo and it will handle the deployment
USE
Simple and intuitive interface
Simple and easy to use, even for users with minimal knowledge of application architecture
EASY
Easy to setup
You can set up an entire environment very fast
DEPLOYMENT SPEED
Instant deployment
One-step deployment process
Their auto-maintenance and auto-deploy services saves a lot of time and effort
DEPLOYMENT EASE
Makes it easy to deploy apps without having the knowledge of managing a server
CLI tool - easy to deploy
Quick and easy deployment
INTEGRATIONS
Seamless integration with Git
Ease with which we can deliver updated code and new features
Add ons
Marketplace
Easy installation of plugins and add-ons
Integrate third-party website with Salesforce
Connect database with a single click with the help of plug in
LEARNING CURVE
Less to learn for developers
COMPLEXITY
Complexity < (AWS or GCP)
SCALING
Scales with you
Autoscale based on usage
Autoscale our platform
TOOLS
Migration tool
Powerful metrics to monitor the app
ZERO DOWNTIME
No downtime
Rolling restarts (to fix delays in requests during deploy)
Perform a rollback to a previous version with just one click
TIME SAVINGS
Saves a lot of time in creating and deploying new apps
COST SAVINGS
Streamline the process for developers and saves costs on app development
Reduced the dependence small teams have on Devops (saves costs)
DOCUMENTATION
for:
using several environments
tuning memory usage
deploying from Dropbox
Detailed sample apps and code for starting a new app
SECURITY
Secure and protected ecosystem
Dev / Prod Environment Parity
Being able to switch from local to remote environment
You can work locally with remote database
WHO
Great for small teams and if you need to validate your product
Single developer or small teams can focus on the project and get it launched, without too much hassle
CONS
Once you get substantial traffic, you have to ask yourself whether your budget should focus on:
more dynos
code optimization
different platform
Support
Contract trap
License cose
Expensive
Gets expensive quickly
Non traditional server environment
Deploy fixed number of apps
Apps go to sleep if there is no user activity
Environment configuration setup is slightly complex (vs Netlify)
CI service is fairly limited (works fine with CircleCI & Travis)
Minimal language support
Low network performance
Upsell on features you may not need
To the uneducated, they will opt into unnecessary features that are otherwise free
Security add-ons like AWS would be nice
Need a separate service for repo like Github, rather than having everything inclusive
30 seconds restriction (not compatible with OS libraries)
Request gets stuck behind slow request
Hard to gauge the capacity needed
Hit by downtimes (not much to do once it goes down)
If AWS goes down Heroku will go down
We learned a little bit about the SSH protocol and how to use the ssh program to connect to a remote server.
SSH protocol was introduced for secure communication using the pub- lic key encryption on the network. OpenSSH is a collection of programs implementing this protocol and available to us.
Connecting to a remote server can be as easy as running ssh $USER@$HOST. In the case we create a server with password authentication, we can use ssh-copy-id to put the public key to the server and take advantage of SSH-keys only access.
We learned about SSH keys management. We can find our keys in ~/.ssh, generate new ones with ssh-keygen. We explored how ~/.ssh/authorized_keys is used for authorizing access using these keys and how SSH host keys are stored in ~/.ssh/known_hosts.
scp and sftp are the go-to tools for secure file transfer over SSH. Although using scp has some security implications given its original design, it’s safe to use in simple commands. rsync is another popular option.
Heroku, with its 12-factor application model, has changed the way we think about building, deploying, and hosting web applications.
The rise of containers, phoenix servers and continuous delivery has seen a move away from the usual approach to deploying web applications. Traditionally we have built an artifact and then installed that artifact into an application server. The result was long feedback loops for changes, increased build times and the not insignificant overhead of managing these application servers in production. Many of them are a pain to automate too. Most teams we work with favor bundling an embedded http server within your web application. There are plenty of options available: Jetty, SimpleWeb, Webbit and Owin Self-Host amongst others. Easier automation, easier deployment and a reduction in the amount of infrastructure you have to manage lead us to recommend embedded servers over application servers for future projects.
Cloud Native Apps
https://dev.to/syncsynchalt/safe-http3-experimentation-with-caddy-447f
https://requestmetrics.com/web-performance/http3-is-fast