Tuesday, October 18, 2022

React UI, UI UX, Reactstrap React Bootstrap



yarn add @material-ui/icons


FORMS. Controlled Forms. Uncontrolled Forms. 

Columns, grid

Monday, September 5, 2022

Sunday, September 4, 2022

Every day data science

Real estate data science example

 home price / median income ratio. "Historically, an average house in the U.S. cost around 5 times the yearly household income. During the housing bubble of 2006 the ratio exceeded 7 - in other words, an average single family house in the United States cost more than 7 times the U.S. median annual household income." If this ratio is too high it could be a signal of housing bubble.

Thursday, August 25, 2022

Cool NFTs Q3 2022

Warning: Please do your own research. We cannot verify the code, team or tokenomics of the below mention projects. Please do your own research. Crypto and NFTs are highly speculative and risky. Improper use of smart contracts, signing message can compromise your entire wallet/ portfolio / digital assets. Please only use test wallets, new wallets and test tokens. 

John's skeleton's

Tezos NFT

Trending concept:  token gated store, community, club e.g. token gated shopify store front.  a solana store is being designed in miami. The space already has a virtual render. 

Tiffany is making CryptoPunk pendants with fine jewelry. It is still very unaffordable. To make the jewelry you will need to own the punk, which is included in the hefty price tag!  The floor price of punks is not trivial

We haven't heard about too many successful NFTs launching on Coinbase except for Bill Murray's. It includes variation of many of his cool acting career milestones and climate change and political beliefs The Bill Murray 1000 collection offers 100 story NFTs containing anecdotes, observations, advice, memories, Murray-isms, and more. including The Life Aquatic with Steve Zissou

Wednesday, August 24, 2022

Crypto wallet remove permission, remove connection. Disconnect wallet from trusted sites.

 Do your own research. Please read our disclaimer. Crypto security is tricky. This method is seen on the internet is not guaranteed to work.  Just doing this disconnect wallet with trusted site is usually not enough to ensure security. 

Magic Ethen / @MagicEden.

***There seems to be a widespread SOL exploit at play that's draining wallets throughout the ecosystem

Here's what you can do right now to best protect yourself

1. Go to >Settings on your @phantom

2. >Trusted Apps wallet 

3. >Revoke Permissions for any suspicious links

7:08 AM Aug 3, 2022

Read the full conversation on Twitter

Tuesday, August 16, 2022

Cloud Compute 2022

 Top cloud providers: Amazon AWS, Google Cloud, Microsoft Azure, Alibaba Aliyun in Asia

Google Cloud

Why use Cloud Dataproc? "Dataproc is a managed Spark and Hadoop service that lets you take advantage of open source data tools for batch processing, querying, streaming, and machine learning. Dataproc automation helps you create clusters quickly, manage them easily, and save money by turning clusters off when you don't need them. With less time and money spent on administration, you can focus on your jobs and your data” - SOURCE google training workshop

Study for Google Cloud and Data Engineer certificate exams

Google Cloud Quiz : Which of these storage needs is best addressed by Cloud Storage? [public]

Monday, August 15, 2022 Natural Language Processing (NLP) - Facebook Developer 2021

The most important goal for in 2020-2021 (as seen in promotions in hackathons and developer jams) include:

multi modal applications using wit and Portal (not yet available to all developers), conversation model, conversation design, fitness, wellness. can be the NLP layer of your app. It can make your web app and mobile app voice enabled, and smart with AI. 

For authentication the api uses a auth bearer token, which you must include in your API call. 

Integration between and Facebook Messenger is readily available, natural and easy. It is frequently seen in hackathons. 

Future and exciting projects using wit AI for daily usage,  fitness, wellness seems to be active areas that Facebook is promoting during hackathons

Security wise it is unclear if your data goes through encryption. It also looks like Facebook will have access to the data (refer to term of service). You assume some ownership of the data, for example you can download the training data. Disclaimer: we are not lawyers, and we are unsure about the logistics of term of usage and the legal part of hackathons : fitness, 

Past hackathon winners: Robin accountant which can set a budget and track expense. 

Build intent handler. Code intent handler


Sunday, August 14, 2022

Developer tools dev tools, developer efficiency hacks

Plugins :  sublime plugin for sublime editor, extensions for vscode. 

VSCode (VS Code) basics:

Drag file to text editing panel to preview, edit and write code. 

View > Layout > Two columns to view files side-by-side

Another reason to use Visual Studio Code, VS Code will display a little color swatch right next the hexadecimal value of CSS colors. 

Live server, live preview, hot loading functionality available for web development. 

Visual Studio Code can be used for JavaScript, Python, Deep Learning. Visual Studio Code VS Code extension code runner, run multiple languages including javascript. (node.js must be installed). Click on code runner, select language javascript. 

Click hold terminal output tab drag it to the right, to dock it there, 

Typing code on iOS: Did you know you can long hold symbols/keys for more programming friendly syntax? For example, long hold the quote key to type ' instead of ".  When typing in notepad, the double quote is stylized, not valid programming script syntax. 

Build a portfolio, publish to Github, and or using Github page. 

Node.js app basics

  • node.js is command line runtime for javascript based on v8
  • Node.js, it's a JavaScript runtime built on Chrome's V8 JavaScript engine.  —> Node.js provided new host objects in addition to native JavaScript objects (source codeacdemy). Same engine. Node non-blocking queue fast efficient, less, don’t do one by one can handle it as it comes, send it as it is ready. Blocking analogy (the opposite: 
  • npm install 
    • install all dependencies in package.json
    • npm install adds the node_modules folder if it doesn't already exists and add files to the folder
    • If using npm i generates package.lock, you might seen yarn.lock if using yarn
  • Rename any env.example file to .env if that file contains the environment variable and authentications that you would like to use
  • npm start 
    • executes the startup script

tags: web dev, webdev, 

Getting started with Moralis

Moralis is a powerful Web3 framework for building decentralized apps (dapps). Moralis supports many chains both mainnets and testnets. That's impressive! Ethereum (and other EVM compatible chains and tokens), polygon, binance smart and now avalanche and fantom!! Rad! You can use moralis to build web3 apps quickly. By the way, Moralis has super good documentation, this blog post is just my personal notes. You really don't need it. But you can read it like a summary, initial walk through, guided tour. The moralis documentation is excellente. 

Web3 dev platform. Great for creating dapps. Moralis API handles all the common tasks.  Moralis projects are organized under email accounts, then each project has its own server (select net to be mainnet testnet    ). Once a server is created you will get the API info: server URL app id and secrets. 

01 In moralis dashboard initialize a server with your desired blockchain. Use testnet for tutorials and education purpose. Grab the server API key. Launch Moralis Server Initialize SDK in your app.

02 in your app.js or main.js first import moralis then initialize your moralis variables

03 All user info instantly in Moralis Server Database Tokens, MATIC, NFT Balances and Transaction once user logs in. 

The server will automatically go to sleep after a period of non use. 

Web3 APIs by Moralis : inspect the API endpoints in the admin panel. You can preview sokme of the functionalities and see what values are received as a part of the request. Moralis APIs : can retrieve all transactions in EVM compatible chains that are supported, also Solana. Retrieve all tokens. 

It also provides some building blocks and really good looking UI for building DEX (this functionality is limited in the USA but is super useful in places where DEX's are allowed). Ivan talks about the potentially to charge referral fees. Do your own research, know your regulations. This is not advice, not professional advice, not production/commercial used. At your own risk. Crypto is very risky.

On Moralis API page/dashboard, we can see all the GET and POST methods available. 

Example Solana API on 

Solana API
GET /dateToBlock Gets the closest block of the provided date
GET /block/(block_number_or_hash} Gets block contents by block hash
GET {address}/logs Gets address logs
GET /block/block_number_or_hash)/nft/transfers Gets NFT transfers by bomber or block hash ?
GET /transaction/(transaction_hash} Get transaction details by transaction hash

Gets events by topic …

Moralis functionalities. Moralis can get price of token. Smart contract events automatically synced to moralis database. 

Core functionality of a decentralized app [pro, paid members only] What does a dapp need? Core functionalities of a dApp. dapp functionality and API. [pro]

Moralis new release

What’s Moralis nitro
Supposedly according the newsletter. Coming soon. Not yet available
🚀 10x faster user sync
🚀 10x faster smart contract sync
🚀 10x more robust dApps

Moralis has a JavaScript course for beginners to JavaScript programming and web3. But it has a price tag $2000. The founder Ivan founded the course, and he is an awesome guy. He tweets about this Js course, Moralis, and he seems to be a crypto bull.

Moralis SDK

Moralis JavaScript SDK: v2.  "This Node.js library will feature integrations for new Moralis 2.0 products, starting with our Auth API, EVM API, and Solana API.

Moralis Solana API

getPortfolio gets all three at the same time

It's possible to use Moralis and Serverless cloud functions to create complex web3 apps. 

A word on going live: WARNING and reminder our tutorials, codes and contents are not for production use. While you can go live, please use only testnet, throw-away wallet, wallet that contains no real tokens. 

When developing on web3, you can test using a test node in one of the ethereum test networks, or a ganache local node, or a free hosted node provided by cloud flare. Blockchain, web3 and crypto applications must be thoroughly tested, using the industry best practice, and being audited and monitored regularly. 

Hackers often target these applications. A reminder: warning our code base does not support production usage, does not support live, commercial usage. Our codes have not being tested in live/production/deployed environments. They cannot be used on mainnet. We are not liable for any costs, damages, losses. Please read our full disclaimer, terms of usage. 

You have worked with different chains such as mainnet, testnet, or Ganache (Ganache is your own local development chain).

It must be hosted locally on your computer or publicly on a server like Netlify.

The easiest method is with the "Live Server" extension for Visual Studio Code.

You can also use Python's built-in web server.

Moralis connects to your front-end app. It's like firebase for web3 service. Moralis calls itself firebase for blockchain / web3 apps. It gives you the backend, so you can focus on building the application logic and the front end. Actually Moralis even offers pre-build UI that takes care of the front end. For its own backend, Moralis uses MongoDB, which gives develoeprs familiar commands and API. Moralis makes use of MongoDB. An example of high quality pre-build UI is  ethereum-boilerplate-NFT-Marketplace

Use Moralis with React:
Can use react components and hooks in Moralis React apps. 

Moralis auth use Moralis to log in

Login User
Moralis.Web3.authenticate().then(function (user) { console.log(user.get('ethAddress'))

Connecting Moralis with WalletConnect
To use walletconnect with Moralis, you will have to use a community module. Walletconnect can be connected with TrustWallet. Note this is an older module, it’s a bit inconvenient to work with. Just add the Wallet provider parameter as a provider. There’s a moralis video about it. 
Moralis.web3.enable({provider: 'walletconnect'});
user = await Moralis.Web3.authenticate({provider: 'walletconnect' });
web3= await Moralis.Web3.enable({provider: 'walletconnect' });

Stacks : serverless dapp + web3.js + moralis 

Moralis Versions

Previously Moralis 1.0
"Ivan on Tech 01/17/2022 MORALIS SDK 1.0 IS OUT!! Very important upgrade to the SDK that will take Moralis to the next level This will allow us to move faster, add more features faster, add more chains faster, add more wallets faster 1) Ethers support by default 2) Will allow many many more auth methods future"
3) Allows Solana support to be added soon
4) Modular refactoring that enables more extensions in the Breaking changes: There are some minor breaking changes - Migration"

Now it is Moralis 2.0

Friday, July 29, 2022

Interesting Books - Property Brothers real estate and interior design book


Did you know the property brothers have a book? My favorite part is the page where they talk about real estate lingos and translate it to laymans. Like what does an agent mean when he/she say quaint. 

Tuesday, July 26, 2022

Debugging error RecursionError: maximum recursion depth exceeded

"RecursionError: maximum recursion depth exceeded"

Issue the maximum recursion depth is reached. The maxinum depth is 1000 in python.

solution 01

 "The default is 1000 levels deep and you can change that using the setrecursionlimit function in the sys module."

solution 02 

Use an iterative approach. 

Sunday, July 24, 2022

Tesla Charging Tips Shared By Tesla - How to Charge Tesla Quickly, Efficiently

Tesla: "

  • Find the fastest Supercharger Filter by three bolts in navigation
  • Navigate to the Supercharger Battery will precondition for faster charging
  • Arrive with 20% battery or less Maximize charge rate
  • Leave space between cars
  • Neighboring stalls may share power Move your car after charging
  • Idle fees may apply 

" - per Tesla released note

Saturday, July 23, 2022

Go Pro reelready stabilization

 Go Pro 9 10 has build in video stabilization, called hypersmooth 2.0 (in-camera stabilization). GoPro sells a separate software called Reelready GO for $99+ bucks which will take in gyroscope data, to stabilize post-production. The GoPro player can also play stabilized video if the footage comes from a gopro camera with gyro data

Solana Developer Resources + Getting Started with Solana

Solana is a layer 1 blockchain. 

Why Solana? Fast, cheap, can be robust

 Current event:

- Solana build during bear market

Solana Summer Camp Hackathon

Twitter space talk

Prizes : payments ~50K, grants, no need to give up equity (?),  Prizes are grants, no equity necessary to participate. 

Summer camp. coworking, hacker houses around the world. For example the San Francisco Summer Camp is located at a co-working space called SPACES near the pier 39 occasion front. 

Getting started with Solana

What is Rust [flash card] 👇🏼


Developer lifestyle : really love the solana designs, and color palette, just so good with the new gaming aesthetics, reminds me of cool clubs and gaming conferences. Fun fact, trivia there's even a Solana beer : There's also the Solana IRL Store in Miami and NYC


Get involved Solana Ambassador

Past price

solana SOL $165 December 13, 2021

Getting Start with Rust

Rust is a system language like C C++ and GO. It has included memory management. C++ requires DIY.

Task: Create a Rust project

$ cargo init

Definition: Cargo is the package manager for Rust

Task: run the main program in Rust. Source file has main function

$ cargo run

Main function is always the first function that will be executed when running rust. If one changes function to a different name will get error.

Task: Hello World with Rust. 

pub fn hello(){

println!("Hello World!");


Task: import hello module. Mod is the keyword for module. 

mod hello;

fn main(){



Task: use :: syntax to call function in a module


Task : view startup scripts Scroll down to the bottom of package.json


"start": "nodemon app.js",

"serve": "node",


Task: serialize, deserialize data between code and byte code. Encode and decode. 


Grape (GRAPE), a solution for validating users on Solana. "Create, Reward & Secure any online community by harnessing the power of Solana" - Coingecko

Solana Mobile 

Solana mobile stack in progress, becoming the chain that mobile developers think about (Packy McCormick

Why is the Solana leadership excited about Solana Mobile? All in one Solana platform - comparable to the emergence of super apps like WeChat. Rough transcription:  "WeChat moment for crypto. Super app for everything in crypto. Solana mobile. Crypto can track an address interact with u, know the entire history."

Speaker, currently interaction is mostly on desktop, need the wechat moment for crypto - super app), 

solana in person todo

learning resource

Seen on twitter “The Solana Development Course on @soldevapp is soo good! Great work and thank you to @jamesrp13 and the other contributors! 

Potential Solana courses: (we have not had a chance to try or test these courses) Solana course

Moralis supports Solana. Current two types of development tools are available SDK and REST API. Here are some of the API endpoints 

Solana web3 javascript SDK API

Solana Documentation : Web3 JavaScript API What is Solana-Web3.js?

injected web3 window.solana .

Community size: discord member August 2021 ~ 133,000.

What's Squid Prize? Solana contribution Prize

Solana Supported Wallets

Solana ecosystems, apps, wallets [public]

Warning : only use test wallet, test tokens. Never use real tokens for  experiments. Never to real tokens for development. Always do your own research. Applies to all tech, cryptos and more. 

If using web extension, browser extension need to install before using. 

Flash card for our pro paid members.
Solana Wallet Adapter [pro]

Thursday, July 21, 2022


Alchemy jsonrpc, eth_getBalance request result is 0x429d069189e000

Startup Tool - Square Payroll, Square Team, and Square Payment Review

We have been using Square Payroll for our startup. It takes care of filing and forms. Which is pretty amazing. You are probably familiar with Square payment POS point of sale system. Did you know it also offer free online shop and URLs (ecommerce portal like shopify), tracks inventory, . It also offers payroll, time card, team time tracker via the Square Team app, clock in clock out is easy. Payroll supports contractors and full time employees, handles direct deposit. We haven't tried it yet but these benefits and HR options are available : external HR as a service, benefits such as shopping for healthcare, retirement plan. So cool. It's a joy to not deal with these HR pain points. That makes a startup founder happy. 

Startup Engineering 101

 draft in progress

Traction : active user revenue

Product Market Fit

What Problem are you trying to solve?
Figuring out Sources of Motivation

Communications, Culture and Hustling

Minimize email time and meeting time (that's why so many startups prefer Slack, the conversation is immediate and transient). Every email should add value, else, just delete it. Replace long meetings with a morning standup meeting to set goals, remove obstacles and make sure each person can start the day right. Do this as long as you can, till you are too big. 

Common Failures

When user education requirement is high. It takes a long time for users to understand your project and the use case of your product.

Users don't have the problems often. 


YCombinator how to apply

Top Things to do on Twitch

 You can watch more than live streaming of games on twitch. Twitch can be a sports platform, community interaction, watch games, learn coding, live coding.

  • Things you can watch on twitch: competitive chess games. Live coding by pro developers.
  • Use OBS for live streaming, and use an iPad as a second monitor. 
  • Developer and conferences on Twitch: e.g. Neo4j Graph database

Monday, July 11, 2022

Firebase Basics 2022

Firebase is an app development platform, owned and supported by Google. Firebase helps developers launch serverless database. 

These are the enterprise users that use Firebase.

Firebase extension: Firebase plugin for external APIs such as MailChimp, Stripe. 

Firebase Extension Event: released 2022, add additional custom logic, code on 3rd party API. Event based, more customization on Firebase Extension. Additional Custom logic. Example firebase function, firebase extension event code snippet. 

Firebase offerings : screenshot from firebase developer event by google

Firebase security rule testing. Example pseudo code :  if request id == resource id can view, edit. Basically means if the creator of the object is equal to the requester of the object, go ahead and let them view and edit. Use Firebase emulator to develop and test. 

Sunday, July 10, 2022

Excel for Data Analysts

Automation (自动化操作): automate data analysis in excel 

Columns: ranges from A B C D ... to AA AB AC...

Dashboard : did you know you can create interactive, complex dashboard in excel. There youtube tutorials how to do this, and do statistical analysis on your data.

Data Analysis (数据分析): 

Data Format:

Dialog box : additional small controls, menu, modals popped up after selecting a menu item.

Pivot table: Pivot table row column, value, filter is what not to show

Ribbon : the control menu where all the copy paste, formatting buttons are.

Advanced functions in Excel:
Financial functions, solver, historic trend line, trend line fitting, correlated movements.

Pro tips:
It's possible to select data cells and name those cells. See an example here : 
This is called named range.

Saturday, July 9, 2022

Compare Turbotax Products Infographics

 This infographics is from This is not financial advice. Just find it helpful comparing different products of turbotax. As an entrepreneur, I often have to make decisions about which Turbotax version to choose. 

For my home business with schedule C + investments I often have to choose the best one - Turbotax home and business. Previously when I had rental no business, I just had to use premier. Again this is not financial advice. 

Monday, July 4, 2022

Flask 2022

 increase jinja2 template cache limit from 50 to above. to speed up flask app significantly source: One line of code cut our Flask page load times by 60% (Medium)

Use case of flask: 

Use Flask as database, so data can persist. 

Display dashboard data. Create dashboard

Alternative to flask : fastAPI

Saturday, July 2, 2022

How to set up walletconnect web3 wallet using moralis?

This gives an hypothetical idea of how to add WalletConnect (which includes Trust Wallet) using Moralis. All you have to do is to include walletconnect as a provide. The challenge is the walletconnect is provided by an old github library. It may not work any more. 

 Warning this is an older tutorial and an older extension. All our tutorials and codes have not been tested in the production environment. We are not responsible for costs and damages. Do your own research. Any crypto codes must be thoroughly tested and audited by you.

Firebase functions

Firebase function example code. 

 source: fireship, moralis, 

Friday, July 1, 2022

Blockchain Example GameFi Analytics Metrics

These are the metrics, KPIs that GameFi companies may care about DAU, 

Weekly Active Users, WoW% growth etc, volume and stickiness DAU/MAU

 Example source : twitter 

Thursday, June 30, 2022

e-Commerce, branding, marketing merch

  •  Sticker mule
    • Can print: coasters, sticker, sticker sheet, clear sticker (for mason jars),  faces (a little narcissistic but it's possible
    • Free proof, border, small modifications by a human, can vary the print size, if too small, ask to print bigger in inches
    • Sticker mule studio for designing
    • Can upscale image using a software
  • Enamel pins
    • wizard soft enamel pins
  • Best practices:
    • Use high resolution images
    • Better yet use vector images
    • Add copy right symbol when applicable

Developer meme and jokes

 Yes we GAN. From President Obama Yes We Can

Cloud, Meme developer jokes 

Technically true ... 

#cloud #data #developer #joke #funny

Data visualization

Zoom meeting meme

"WARNING: Coffee HAS GIVEN ME UNREALISTIC EXPECTATIONS OF PRODUCTIVITY" Water is just coffee that hasn't reached it's full potential."

Growth : Viral TikTok Trends, Songs, Audio, Hashtags. What's going viral?


These are marketing and viral ideas you can use for creating Tiktok videos. 


Perhaps what's amazing about Tiktok is storytelling with the songs and tunes we already love.
  • Avicii - The Nights  Avicci live a life you will remember 
  • Song I love you to infinity
  • Duke & Jones - My Money Don't Jiggle Jiggle It Folds (Lyrics) TikTok Song
  • Vibe with these top 2022 Tiktok songs
  • Other songs : first let me take a selfie. 
  • If I die young doing something for YouTube (disclaimer: don't do something stupid for youtube. WARNING the title of the song does not represent our opinion. )
  • Take this waltz Lenard
  • Winter takes it all / winner takes it all
  • Song ily (i love you baby)

Animals, Pets, Cats, Dogs

  • #CatsofTiktok
  • Selective Participation : sleeping cat, baby, dog, puppies
  • Show me your pet, then show me what your pet is named after
  • Just a baby
  • In a minute imma need some kitty kibble, lamb or chicken, to chunk me up!
  • Pet thought bubble
  • Separation anxiety
  • Loaf check, 10/10 loaf
  • Paw song
  • Nappy song
  • Try owning cat today
  • Microphone : cat eats, Camera : cat smells everything
  • Distinguished gentleman
  • Cats have OCD
  • Cat career video memes
  • Owning a cat, try cats today
  • How many taps till your cat get mad
  • Show me someone that lives in your house rent free

Fancy, Travel, Dreamy, Life is like a movie, Adventure

  • Je te laisserai des mots (song)
  • Just makes sense song
  • Transformation, Comparison, Before and After 
  • How did this become this e.g. food, jelly shot, pets growth
  • Can we skip to the good part
  • things you must do before you leave this world
  • ma che vuoi, vertical orientation, often referred to as the Italian hand gesture ma che vuoi, sometimes called the "finger purse." In Italy this gesture tends to be used in disagreement, frustration, or disbelief and can mean “What do you want?” or “What are you saying?” according to
  • Avicii - The Nights  Avicci live a life you will remember 
  • Like you are broké (broke but fancy, broke and still living classy)
  • You are coming home with me, hotel travel
  • Travel hacks
  • Travel in Japan
  • Things that just makes sense xyz
  • travel and safety tips


  • Broadcast eating Mukbang
  • Broadcast cat eating with tiny microphone 
  • Extra or basic
  • Other people get kids I get coffee


Learn on Tiktok, learn with tiktok, 


  • capitalism popped off today ? capitalism paid off today?
  • Collector check. Show me your most expensive item
  • CEO, entrepreneur Jefferey Bezo
  • Do I need this, no
  • capitalism popped off today ? capitalism paid off today?
  • Cool products, designs
  • Broké

Interactive, Reaction, Duet

  • React to viral videos, viral creators
  • React to dances


  • California living in different reality


  • Something that feels illegal
  • Lifehack, randomly saw one day, can't live without
  • Tech stories, life hack, 
  • Budgeting
  • A new viral song about ADHD


  • Big lips filter (instagram, effect) blog


  • emotional damage.  e.g. dogecoin emotional damage. 

Being an adult is hard, fail at being an adult

  • Adult lullaby
  • Is is anxiety is it laziness or is it ADHD song
  • Other people get kids I get coffee

Content Ideas for TikTok Live

  • A calligraphy artist writing livestream viewer's name in Chinese
  • Follow No.1 / lucky interactive viewer of Tiktok live. Give them a shoutout.
  • Have seen a lot of creators ask for gifts in livestream. Not sure if kosher with Tiktok policy

More ideas

  • Instagram worth hotels around the world
  • Cooking, recipes
  • Find the difference
  • Drawing process
  • Lifestyle, Gen Z Millennial : Other people get kids I get coffee. Digital nomad. Vlog
  • It all went wrong
  • Youtube study music, chilled cow
  • Smash photos together, sync photo to music beat
  • Tea for 1, chen xiang the incense that sinks
  • Adult lullaby
  • Food, garden, interior design (urban outfitter style), room with plants
  • 7 second video, 7 second photo, no hashtag necessarily, here's proof see?
  • monday tuesday wednesday thursday friday saturday sunday


Wednesday, June 29, 2022

Intro to Jupyter Notebook versus Jupyter Lab

 “The Jupyter Notebook enables users to create and share documents that combine live code with narrative text, mathematical equations, visualizations, interactive controls, and other rich output. It also provides building blocks for interactive computing with data: a file browser, terminals, and a text editor.” 

Jupyter Notebook is a development environment that supports languages like Python and many other languages. Data Scientists and Machine Learning practitioners use notebook to clean data, build models, show case and share findings, collaborate, present data visualizations. It serves many more purposes. 

Question:What languages do you use in Jupyter? 

Answer: C (and derivatives), R, Go, Ruby, Groovy, Rust, Java, Scala, JavaScript, Spark SQL, Julia, SQL, NodeJS, TypeScript, Perl, U? Jupyter, php, Python

“The Jupyter Notebook now supports over 100 programming languages, most of which have been developed by the community.”

“There are over 1.7 million public Jupyter notebooks hosted on GitHub. Authors are publishing Jupyter notebooks in conjunction with scientific research, academic journals, data journalism, educational courses, and books.”

Why JupyterLab
”At the same time, the community has faced challenges in using various software workflows with the notebook alone, such as running code from text files interactively. The classic Jupyter Notebook, built on web technologies from 2011, is also difficult to customize and extend.”

“JupyterLab is an interactive development environment for working with notebooks, code and data. Most importantly, JupyterLab has full support for Jupyter notebooks. Additionally, JupyterLab enables you to use text editors, terminals, data file viewers, and other custom components side by side with notebooks in a tabbed work area.”

“JupyterLab provides a high level of integration between notebooks, documents, and activities:
* Drag-and-drop to reorder notebook cells and copy them between notebooks.
* Run code blocks interactively from text files (.py, .R, .md, .tex, etc.).
* Link a code console to a notebook kernel to explore code interactively without cluttering up the notebook with temporary scratch work.
* Edit popular file formats with live preview, such as Markdown, JSON, CSV, Vega, VegaLite, and more.
JupyterLab has been over three years in the making, with over 11,000 commits and 2,000 releases of npm and Python packages.”
“JupyterLab is built on top of an extension system that enables you to customize and enhance JupyterLab by installing additional extensions”

Source :

Tuesday, June 28, 2022

Using named range in Excel, store a matrix in Excel, give it a name and do calculations

 Did you know you can name a range in Excel, and you can refer to it later. You can store these numbers 1 through 9 in excel. 

Select the 9 cells, then on the top left corner change it's column name range to a new name : matrix. Then click enter.

In a new cell, you can type =sum( which is the sum function, instead of drag and select the range, just type the name you give to the range : matrix. Close the parenthesis. =sum(matrix)

Monday, June 27, 2022

Developer Lifehack, Shortcuts and productivity boosts for developers


command + k to clear terminal on Mac and Visual Studio Code

Excel Google Sheet

Use paint format icon to copy and paste format. 

Tricks for learning new things fast and working in a team, collaboration, career tricks

adult learning theories

Conflict resolution at work Be curious about the other person's opinion. Every one is trying to voice their own version of the truth. Unfortunately, we also want to tough up and be used to assholes in tech - there are plenty and they are hard to avoid.

Coding musics

Bach Cello Suite No.1 Sarabande.

Thursday, April 28, 2022

Error Message Hardhat debugging error unsupported engine hardhat, current node v18

Error message


Unsupported engine {

package: 'hardhat@2.9.3',

required: { node: '^12.0.0 || 14.0.0 || 16.0.0' }

current: { node: 'v18.0.0', npm: '8.6.0' }




It may be surprising that to use the latest smart contract development tool Hardhat, you will need to use an older version of Node.js, NOT the current node.js 18. Revert it to node 12, 14, 16.

Friday, April 22, 2022

Getting Started with Twilio for Developers

 Twilio mark up language TwiML

<Response> <Say> <Play> <Gather>. There are more we haven’t listed here.

Example markup file:

<?xml version="1.0" encoding="UTF-8"?>


    <Say>Thanks for calling!</Say>


Natural Language Processing with Twilio

NLP with Twilio

Twilio No Code Solution

No-code development using Twilio Studio, drag and drop, link to make your twilio app.

Twilio Video

Functionality: use command line auto generate an URL utilizes programmable video 
Functionality: video calls

Big Numbers You Should Know - Technical Interviews, Power of 2


Big Numbers You Should Know Technical Interviews Power of 2. 

KB kilobyte, megabytes MB, GB gigabyte, TB terabyte, Peta, Exa, Zetta, Yotta

Udacity illustrates PCA

Udacity uses this analogy to illustrate how to convert a long run-on sentence into a short phrase "I had a coffee and a pastry."

Yarn package manager

 #Installing all the dependencies of project


# Starting a new project

yarn init

"Yarn is a package manager for your code. It allows you to use and share (e.g. JavaScript) code with other developers from around the world."

Tuesday, March 29, 2022

Advertising networks, publisher, digital marketing for growth

DoubleClick Campaign Manager


DoubleClick Bid Manager

Google Analytics

DoubleClick Rich Media

DoubleClick for Publishers

DoubleClick Ad Exchange

DoubleClick Sales Manager

Doubleclick Studio

Doubleclick Search

advertising provider networks



Google AdSense

Yahoo Display Network


Microsoft Advertising


Commission Junction

Thursday, March 24, 2022

Moralis best framework for web3, blockchain

What is Moralis: moralis is an easy to use web3 framework, a dapp middleware. 

Moralis is multi-chain: Moralis supports Ethereum, Binance Smart Chain, and Polygon., avalanche. "build and deploy dApps on Ethereum, BSC, Polygon, Solana, and Elrond (more coming)." official website. Moralis Solana API : can try in the admin page

Dev tools : Moralis is compatiable with Ganache. 

Use cases of Moralis: "This is possible since Moralis provides an infinitely, fully managed bakend infrastructure for all users. ... Moralis also offers ... native support for MetaMask, IPFS, the Moralis NFT API, cross-chain compatibility, etc. ... valuable tools that help developers save time and money by shortening the development process. Another neat function is the Moralis Speedy Nodes functionality, which now comes with full WebSocket support. Moralis’ Speedy Nodes are some of the best, most reliable, and fast nodes available. Moralis already offer nodes for four different networks; ETH, Polygon, BSC, and Arbitrum. Moralis also supports archive nodes of all these networks, which means that it is possible to query information from past states of the respective blockchains. " Moralis

Features: Moralis dashboard provides token balance, NFT balance, historical transactions

Moralis authentication: 

Single Sign On (SSO) aka magic link. Receive an email to click and sign in instead of using username and passwords. 

It's possible to use walletconnect with Moralis. There's a github repo library available.

NFT Endpoints, NFT APIs on Moralis versus Alchemy

Moralis offers many many more NFT features than Alchemy, whose NFT support is in the infant stage. There are only basics, get info get pic. Moralis can do much more. See screenshot above to see a snapshot of API endpoints that Moralis offers NFT.

It's a quick way to display NFT in the browser. Did you know the webb game also uses Moralis? 

Moralis API 
latest function name from latest sdk version is getTokenBalances

Moralis Components
Moralis components [public]

Friday, March 18, 2022

Bored Ape Yacht Club BAYC in person yacht party

BAYC launched a real in-person yacht party and a warehouse party. These are the twitter threads that track that party and show awesome photos and videos.

Bored Ape Yacht Club Party summarized on twitter threads

Blockchain DeFi Crypto NFT news 2022

Crypto news March-Spring Spring, June and Beyond 2022. Crypto is very risky. Do you own research. Even news cannot predict the result of volatile assets. Please read our disclaimer before reading our blog. There is no financial advice on this blog. We are not qualified. Mentioning a token, NFT, blockchain is not endorsement. 

News and regulations can make crypto rise and fall. Remember to read our full disclaimer before reading. 


TempleDAO: A memetic force to be reckoned with (coingecko article)

NVIDIA Ethereum mining


Another Dogecoin Core Release Might Be in the Works, Price Consolidates: Details

Doge Whale Mystery Continues: 261M Dogecoin Moved In A Single Transaction, Again


Google  + Quantum Computing


NVIDIA ethereum mining blocking was futile


Michael Jorda +  Solana + NFT

Metaverse, Gaming, NFT

Gucci + Sandbox + Metaverse blogger

Sandbox integrates World of Women avatars claiming "Diversity, inclusivity & interoperability in the Metaverse! You can now use your World of Women in The Alpha Season 2! You can now play with Snoop Dogg and World of Women's Avatars." Sounds really weird. If not creepy. Sandbox raises an interesting question: "Which NFT collection should be interoperable next?"

Bored Ape Yacht Club launches a trailer for its metaverse / game Otherside. It only garnered 35K views - tiny by youtube standard, but its launch of ApeCoin in game token already reached $13 dollars! That's quite some demand.

metaverse trend in Korea

tezos + metaverse
Tezos, Dogami, metaverse, game fundraise

Decrypt “Ronin, the sidechain for NFT "play-to-earn" game Axie Infinity, has been hit with an exploit that drained $552 million in crypto from its bridge to Ethereum's mainnet. By the time the exploit was disclosed, the value of the crypto lost had increased to $622 million.“ 

Tornado Cash blocks addresses in the Axie Infinity hack

Move2Earn workout game, this guy explains the viral StepN game in Chinese
* warning mentioning an entity is not a form of endorsement. Crypto is highly risky. Not financial advice. Do your own research.  This site is for informational purpose only. 

General economy

Mortgages Rates Surge to Highest Since 2018 "The average rate for a 30-year fixed-rate loan jumped to 4.67%, mortgage-finance giant Freddie Mac said, marking the weekly figure’s highest reading since December 2018."

Disclaimer: My company and I may both own crypto currency. All discussed is for informational purpose only. Crypto and blockchain, NFT, gaming are highly risky spaces. These are not financial advice. Risky investment may incur lost of investment and the entire principal. All discussion of technology is for informational purpose only. Mentioning a tech does not mean endorsement. All tutorials are for informational purpose only, cannot be used for commercial nor production use. Have not been tested for security. Using blockchain, cloud or machine learning technology may incur high costs. We are not responsive for costs, damage associated with any of these technology. You may want to monitor the cost, and set budget alarms and quotas whenever possible. 

Dev tools

Foundry is working on deployment features May 2022
Solidity, hardhat extensions plugins available for Visual Studio Code


gm, for good morning. Avocado for dev advocate. 

Ethereum Validator

Heard on the internet (not verified) how much does it take to be a validator of ETH2
"It's been 32 ETH for awhile. There are pools you can enter with less, and not have to manage a node. But yeah 32 ETH to be a validator.
ether validator contract?"

Thursday, March 17, 2022

Web Development Basics 2022

Installation : 
Task: check package library/framework version number. 
node -v
npm -v
npm and yarn do similar things

  • ES6 JavaScript - ECMA pronounced ehk-ma decides the standard for javascript. And that's why the newest version of JavaScript is called ES6, ecmascript 6. symbol is new in ES6.
  • JavaScript - Dynamic Typing - Don't have to declare types right away.
  • JavaScript - Primitive Types (no methods, immutable): undefined, null, boolean, number, string, symbol. 
  • Toast message : a temporary message, for example display error.
  • array can store data with different types.
  •  HTTP status code 
    • introduction:
    • Different versions of it
    • MDN
    • Typecasting: changing a variable from one time to another. 
    • Coercion: explicit versus implicit. We need to watch out for this in JavaScript. Often it doesn't work as we would expect. 
    • Comparison and testing. Double equal versus triple equal. Double equal will coerce the types then test. Triple equal will require the type to match as well. This too can be counter intuitive, unexpected in JavaScript. There are also quirky JavaScript equality issues. JavaScript quirky equality issues
  • HTML DOM : Web dev Document Object Model (DOM) turns html documents into a tree like structure of nodes. nodes include img, body and the element node can contain attribute nodes such as src, text. A common task is traversing DOM elements.

Use ready to use, low-code environment:
Did you know you can upload custom font to Wix? Wix let's you start websites using a bit of HTML and CSS. 

Debugging : 

Node.js out of memory error. If encountered try upgrading node js to the latest version see if the problem is resolved. 

JavaScript events
JavaScript addEventListener, js events

Web Server request and response
Can return, de-couple tuple request object result into header, url and method
package.json the file that describes the node project, also specify dependencies, 
npx comes bundled with node
Key concept : request response cycle between client and server
Header is made of key value pairs, such as token value
Body response or data sent to server form date
node js http module is useful handle web requests.

JavaScript allows trailing comma. The extra last comma in objects. And that is okay. 

Content delivery network (CDN)

Mouse event, draggable droppable dragging and dropping a div usually has default behaviors that need to be cleared and disabled first. They can make debugging very difficult and confusing.

MEAN stack

“A Promise is an object representing the eventual completion or failure of an asynchronous operation. Essentially, a promise is a returned object you attach callbacks to, instead of passing callbacks into a function.” - codeburst medium

Dark mode : some themes come with one click flip dark mode button. Dark mode is build into the theme.

Image optimization: use lazy loading attribute, place placeholders or use pre-loading for images, iframes.

What is Next.js? Next.js builds on top of React. It’s more opinionated. "Next.js is a simple framework for building React applications that handles many gory details related to routing and SSR."

A-Frame VR in the browser, based on three.js games. Script pdf with python export some pages

Tutorial CS50 Harvard web dev with python and JavaScript 

Wednesday, March 16, 2022

Moralis Avalanche Hackathon

Moralis Avalanche (blockchain) ($Avax) DeFI #hackathon. Avalanche is not just a faster ethereum. At its core, it's different. This hackathon has a mega prize pool. As Evan from Moralis would say the size of the prize pool is massive in crypto!

Great eco system

Moralis Avalanche Hackathon winners

Feature: power of Avalanche Contract Chain (C-Chain)

covalent subnet, customizable, mix of sharding, wall-off, jurisdiction - regulatory, private network

Wednesday, March 9, 2022

What are Stablecoins

Warning: Please read our disclaimer. Do your own research. Our contents are informational purpose only. Even the congress is yet to understand and fully study the use and effect of stablecoins. We are not able to verify external resources like these below.

Decrypto guide to stablecoins

Coindesk : "stablecoins are used for trading, lending and borrowing, but the report added that these tokens may eventually become a means of payment for businesses and households. Another footnote specified that the report is not addressing any potential stablecoin issues under federal securities or commodities laws, but the report itself did acknowledge the SEC and CFTC's authority to oversee stablecoins that meet the provisions of these laws. The legislation would apply to stablecoin issuers that are headquartered in the U.S., operate stablecoins that people in the U.S. can access or otherwise have"

Watch out not all stablecoins are collatoralized What are Stablecoins :

Wednesday, March 2, 2022

Binary cross entropy loss function

Generalized cross entropy formula using sigma notation


Binary cross entropy using y, 1-y to represent the probability of class 0 or class 1

sebastian thrun founder of udacity explains binary cross entropy

Sunday, February 20, 2022

PiCoin Crypto

What does hosting a picoin node look like

Alchemy for Blockchain, NFT Review

 Review Alchemy, developer platform, super node for blockchain, NFT, crypto. Alchemy has attracted a lot of attention lately because of high-profile Andreessen Horowitz -led investment. 

Can use alchemy composer to compose request.

"Alchemy is extremely proud to be powering the biggest names in the NFT space, including Makersplace (recently set a record digital artwork sale at Christie’s for $69 Million), Dapper Labs (creators of NBA Top Shot & Crypto Kitties), OpenSea (the world’s largest NFT marketplace), Zora, Super Rare, NFTfi, Foundation, Enjin, Origin Protocol, Immutable, and more."

Alchemy request composer, Ethereum get balance example

Warning Warning, please read the below disclaimer before reading our post:

Alchemy in the news: 
Startup funding, polygon and alchemy

Friday, January 28, 2022

Easy to remember math functions and their graphs

 reposting from the internet

OpenSea NFT basics for developers

Here's what you need to know about OpenSea NFTs as a developers. Before we start, be sure to read our disclaimer and warnings. Remember these contents are for informational purpose only. 

The Rise of OpenSea

Why should you care? Recently OpenSea has had stellar performance, gained steam and attracted amazing investments.

NFTs can have traits

This is an example of Blocky Doge, doge themed NFT by supposedly dogecoin creator. These traits are stored permanently as a part of the metadata of the token on chain. 

Testnet NFT, Rinkeby NFT

Wallets that OpenSea supports
OpenSea supports more than just metamask, for example OpenSea supports Kaikas for Klay WKLAY, aka Klatyn. 

Wednesday, January 26, 2022

Shopify Partner Developer Essentials

example shopify api endpoints






Shopify partner perks

Monday, January 24, 2022

Firebase Stripe Extension for payment debugging

 If your stripe webhook contains errors, Stripe will email you and inform you that requests to this end point has failed. In this case, we got a "Webhook Error: Invalid Secret". 

To fix this bug you will need to navigate back to the stripe extension configuration page in firebase console. 

To get this value you will need to grab it from stripe dashboard, webhook secret, it usually begins with 

Navigate to Stripe dashboard > select Developer from top nav > select webhook from left nav, then select the webhook you created, and select reveal secret in the webhook's menu. 

Signing secret begins with whsec. 

You will need to add this secret to firebase for firebase to successfully communicate with your stripe webhook. 

Sunday, January 23, 2022

Algorithms bias

Examples of algorithms gone bad, gone wrong, unethical. Lessons to learn and what NOT to do when designing an algorithm. 

Apple's "sexist" credit card.

Stanford researchers' horrid gaydar paper

Saturday, January 22, 2022

Stock, Crypto Technical Analysis

Crypto investment. 

Warning Please be sure to read our Disclaimer before reading this post or any post on our blog, youtube, proprietary website.

  • Bollinger Bands 
  • Breakout: Any breakout patterns?
  • Fees can really affect your takehome profit in crypto. Check out coinbase's fee schedule here
  • Momentum
  • Note the fee is different for makers and takers. 
  • Relative strength index RSI
  • Short interest
    • Roblox example
  • Other non technical, qualitative components: new listing, coinbase new listing
  • 50 day moving average. e.g. a lot of cryptos are correlated with bitcoin 50 day moving average. 50 day moving average below 100 day moving average, some may consider it a bearish sign.
  • WhaleStats: show movements of big ETH whales. What kind of tokens they are buying and trading.

React UI, UI UX, Reactstrap React Bootstrap

React UI MATERIAL  Install yarn add @material-ui/icons Reactstrap FORMS. Controlled Forms. Uncontrolled Forms.  Columns, grid