This is my experience when trying to stake BNB natively as delegator (for development purpose), Obviously, this is not financial advice!

TLDR

You spend 1 BNB, you will get ~0.0005 BNB back daily. undelegate took 7+1 day.

Prerequisites

  1. Binance account // this is my ref if you please 👉 https://www.binance.com/en/register?ref=13135950
  2. Make some deposit which money you can lose.
  3. Stop saying no to DeFi, You will regret that.

What we gonna do

  1. Stake from Binance ExchangeBinance Chain.
  2. Stake from Binance ExchangeBinance Smart Chain.
  3. Unstake from less reward validator.

Part I : Binance Chain

  1. Make sure you have Binance Chain Wallet and account there.
So poor!

2. Withdraw > 1 BNB…


I want to generate a specified wallet address instead of a random one to make it more cool and able to recognizable while using it. e.g. ending with cat

cat!

I found vanieth which you can use it for Ethereum but it can’t be use with Binace Chain so I grab some code from stress Stellar account generator which is created by Rungsikorn Rungsikavanich and mix with binance-chain/go-sdk to generate account for me

TLDR;

Installation

$ go get -u github.com/undefiorg/vanibnb

Usage

  • -s: Suffix to find
  • -n: Network mainnet or testnet

Run

$ vanibnb -s=cat -n=testnet

Output

🔍 Finding Address end with cat on testnet
🌀 Running task…


This is my experience while fooling around Binance Defi (actually it’s kinda Cefi), This is not a financial advice! Make your own mind don’t blame me!

2021 rate = 6%

Prerequisites

  1. Binance account // this is my ref if you please 👉 https://www.binance.com/en/register?ref=13135950
  2. Make some deposit which money you can lose.
  3. Stop saying no to Defi, it’s not scam it’s a future.

First thing First

  • There are many way to lose and gain your money there. We will focus at “earn” not “trade” or something else.
  • If you deposit through P2P, move it to Fiat/Spot wallet and click “earn” from there will be easier.
  • After done saving, your balance will be move to “earn” menu.

TLDR

🌈 Low Risk : Just saving

Buy USDT or BUSD and transfer to… saving

  1. Flex saving if you want to redeem back anytime (for trade).


It’s like Forkable Medium + Jupyter and Colab + JS Playground with preinstall data libs + Github (and Team for paid version).

https://observablehq.com/@katopz/hello-bigquery-and-vega-lite-api

TLDR

Here’s example for fetch BigQuery COVID-19 public data and plot it with vega-lite in Observable, Enjoy!

To follow me on Observable you can use RSS/feed


It’s 2020 now, everything should be easier right? let’s try!

Prerequisites

This is fresh install, you can skip some if its already installed

# Install brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# Optional ensure up to date
brew update && brew upgrade

# Install Git
brew install git

# Optional IDE VSCode
brew cask install visual-studio-code

2. Install dotnet with brew

brew cask install dotnet-sdk

3. Try examples (This take some time to pull)

git clone git@github.com:dotnet/samples.git
cd samples/core/getting-started/golden

4. Open vscode (optional)

See Visual Studio Code on macOS

code .

5. Create console app

dotnet run -p app/app.csproj
It was not…


This should be easy task but there is not! It seem like Blender 2.81 not go easy with import texture for some reason.

Problem

Texture has been ignore for some reason, and googling about it didn’t seem to help that much.

Solution

  1. Change base color from color to use texture instead.

2. Just make sure you have texture image file for open.


I want to create Fire effect for my game with threejs via React for my EdTech startup product which is a ML Game that will release pretty soon this year (so excite!)

Let it burn!

TLDR;

Problem

It’s outdated (2017) and not working.

Solution

Migrate to threejs 0.114.0 and also with React 16.13.0

Source

Until next time!


It’s working as expected at first export, but suddenly took me a day to resolve this! So I will log it down here just in case I forget the combination.

Give my day back!

Problem #1

You will have “cut off” animation issue if your animation is more than 250 frames (mine is 291)


Finally I got some task for a Data Engineer sake, Yeah! I’ve to import a backup file from MSSQL Tape file format (which appear to be obsolete pretty soon LOL) to Dataprep as CSV.

Poor tape file ;p

I will follow below guide to achieve my task.

But I will summarize in my own version. Because it’s not working LOL

Prerequisites

  1. Azure Data Studio is a data management tool that enables working with SQL Server, Azure SQL DB and SQL DW from Windows, macOS and Linux.
  2. MSSQL Server : I will use it via Docker container
docker pull microsoft/mssql-server-linux


Video paused. Continue watching? dialog is super annoying! Here’s how I get rid of it.

STOP ASKING!

TLDR

R

Yes!

How it work?

  1. Watch for dialog, If “Yes” exist just click it programmatically. — This approach won’t work when window is not focus due to a DOM event for rendered not trigger and also click action is not perform properly.
  2. Watch for paused event, then perform play programmatically. — This work all the time so we also have to watch a mouse movement event for “intended” pause otherwise it will play (only pause from Youtube will trigger not from human click)

You can copy and…

katopz

DLT & ML Debugger

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store