Open in app

Sign In

Write

Sign In

Steve Ng
Steve Ng

268 Followers

Home

About

Nov 22, 2022

Ethereum Virtual Machine — Storage layout

Introduction In the earlier part 1 post, we describe EVM as a stack-based virtual machine and how Solidity compiles down to ByteCode which is a set of opcodes that will be executed by EVM. This post will describe how EVM stores data in storage and memory. Type of data location There are in total 3…

Solidity

6 min read

Ethereum Virtual Machine — Storage layout
Ethereum Virtual Machine — Storage layout
Solidity

6 min read


Published in Coinmonks

·Oct 9, 2022

Ethereum Virtual Machine

A practical guide for solidity developers — What is EVM? You might have heard of Java Virtual Machine, where developers code in Java (or other languages) that compiles down to Java bytecode and JVM is a runtime engine that executes Java bytecode. …

Ethereum

4 min read

Ethereum Virtual Machine
Ethereum Virtual Machine
Ethereum

4 min read


Oct 9, 2021

Performing Merkle Airdrop like Uniswap

If you want to skip directly on how to implement Uniswap airdrop, proceed to the section: Steps on creating a Merkle Airdrop An airdrop is an event when the project decides to give tokens away to a group of users. These are some potential way to implement airdrop: Admin call…

Solidity

3 min read

Performing Merkle Airdrop like Uniswap
Performing Merkle Airdrop like Uniswap
Solidity

3 min read


Published in Coinmonks

·Sep 7, 2021

Step by Step guide to creating your own NFT — CryptoPunks or Pudgy Penguins

NFT stands for non-fungible token, it can represent ownership for a digital asset. NFT can take the form of an in-game item for GameFi (play-to-earn application), or a digital art piece, or even as PFP like CryptoPunks. What is CryptoPunks or Pudgy Penguins If you have chanced into this blog post, chances are you know what…

Nft

6 min read

Step by Step guide to creating your own NFT — CryptoPunks or Pudgy Penguins
Step by Step guide to creating your own NFT — CryptoPunks or Pudgy Penguins
Nft

6 min read


Jun 27, 2021

Why smart contract approval is dangerous

Rugpull where developers exit-scam or exploits where hackers abuse a bug in the smart contract for their economic benefit is some of the most commonly heard terms in the defi space. But, did you know that approving a project’s smart contract is as good as giving the password to your safe and allow the project to take funds from your safe whenever they want? What does smart contract token approval mean?

Yield Farming

3 min read

Why smart contract approval is dangerous
Why smart contract approval is dangerous
Yield Farming

3 min read


Published in Analytics Vidhya

·Mar 28, 2020

Pivot table in AWS Athena (or Presto)

Background Pivot table is one of the most commonly used features in Excel for reporting purposes. The user does not need a programming background to perform data analysis. +---------------+-------+---------------+--------------+ | Item Category | Price | Region | Sales Person | +---------------+-------+---------------+--------------+ | Furniture…

Aws Athena

4 min read

Pivot table in AWS Athena (or Presto)
Pivot table in AWS Athena (or Presto)
Aws Athena

4 min read


Published in HackerNoon.com

·Jan 27, 2020

Optimize your EC2 connection to s3 within the same VPC with Gateway VPC endpoint

When an EC2 instance sends data to s3, the traffic by default will route through the internet. There might be security (or regulatory) concerns as traffic leaves the VPC. Or the obvious issue with the above approach is the additional cost involved. When traffic route through the internet, there will…

AWS

2 min read

Optimize your EC2 connection to s3 within the same VPC
Optimize your EC2 connection to s3 within the same VPC
AWS

2 min read


Jun 22, 2019

Buying cryptocurrency (Bitcoin, Ethereum) in Singapore 2019

Bitcoin has went from the high of close to 20k USD in 2017, to a low of 3156 USD in 2018 and currently stand over 10k as of 2019 June. And with Facebook’s recent announcement of Libra, cryptocurrency is here to stay. …

Bitcoin

3 min read

Buying cryptocurrency (Bitcoin, Ethereum) in Singapore 2019
Buying cryptocurrency (Bitcoin, Ethereum) in Singapore 2019
Bitcoin

3 min read


Apr 19, 2019

Quick tips on tweaking spark configuration and performance on EMR

Tweaking Spark configuration for beginner might be a daunting task as the required knowledge ranges from understanding what does spark driver and executor do to determining the resource needs of them. Tip 1: Cache and cache The easiest way to improve performance is to identify places to .cache. …

Apache Spark

2 min read

Apache Spark

2 min read


Published in HackerNoon.com

·Jun 16, 2018

Demystifying this.bind in React

Have you ever experience reading an existing React code base and wondering why is there a need for this.functionName = this.functionName.bind(this) in the React component constructor? And what make it more confusing is when not all function has binding syntax. If you looking for a quick-fix this problem, one…

JavaScript

2 min read

JavaScript

2 min read

Steve Ng

Steve Ng

268 Followers

simply curious about new technology on the block

Following
  • SlowMist

    SlowMist

  • Arthur Hayes

    Arthur Hayes

  • TrustChain

    TrustChain

  • Tinder

    Tinder

  • Cronos World

    Cronos World

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech