I Failed the Turing Test

  • Web Development
  • Database
  • DevOps
  • Python
  • JavaScript
  • Machine Learning
  • Big Data
  • Blockchain

All posts by Vinta

Solidity: Read Contract Storage by Slots with Foundry

Posted on 2023-08-032023-10-28Author VintaPosted in Blockchain

State variables are stored in different "slots" in a contract, and each slot is 32 bytes (256 bits). However, multiple adjacent state variables declared in the contract may be packed into the same slot by the Solidity compiler if their combined size does not exceed 32 bytes.

Surviving the Digital Dark Forest: Tips for Staying Safe Online

Posted on 2023-04-202025-11-13Author VintaPosted in Misc

How I learned to "start worrying" and love the illusion of feeling safe.

Solidity: CREATE vs CREATE2

Posted on 2023-03-292023-10-28Author VintaPosted in Blockchain

How to deploy a contract using `CREATE2` which is introduced in EIP-1014 to provide more flexible address generation.

Solidity: calldata, memory, and storage

Posted on 2023-03-182023-10-28Author VintaPosted in Blockchain

If you can, try to use calldata as data location because it will avoid copies, reduce gas usage, and also make sure that the data cannot be modified.

hardhat-deploy: Upgradeable Contracts with Linked Libraries

Posted on 2023-02-212023-10-28Author VintaPosted in Blockchain

Whenever the library is changed, hardhat-deploy will deploy a new implementation and upgrade the proxy.

Posts pagination

← Previous Page 1 Page 2 Page 3 … Page 23 Next →

Say Hello

TwitterFacebookLinkedInGitHubRSS

Recent Posts

  • 1Password CLI: How NOT to Store Plaintext AWS Credentials on Localhost
  • Solidity: call() vs delegatecall()
  • Solidity: Multicall - Aggregate Multiple Contract Calls
  • Solidity: abi.encode() vs abi.encodePacked() vs abi.encodeWithSignature() vs abi.encodeCall()
  • Build Docker Images using Google Cloud Build from Your GitHub Repository
  • Solidity: Read Contract Storage by Slots with Foundry
  • Surviving the Digital Dark Forest: Tips for Staying Safe Online
  • Solidity: CREATE vs CREATE2
  • Solidity: calldata, memory, and storage
  • hardhat-deploy: Upgradeable Contracts with Linked Libraries
  • Deploy Ethereum RPC Provider Load Balancer with HAProxy in Kubernetes (AWS EKS)
  • Deploy graph-node (The Graph) in Kubernetes (AWS EKS)
  • Amazon EKS: Setup Cluster Autoscaler
  • Amazon EKS: Setup aws-load-balancer-controller for Kubernetes Ingress
  • The Graph: Subgraph and GRT Token

Categories

  • Big Data (13)
  • Blockchain (11)
  • Database (15)
  • DevOps (34)
  • JavaScript (8)
  • Machine Learning (17)
  • Misc (6)
  • Python (48)
  • Web Development (40)

Tags

amazon web services apache spark aws cli aws cloudfront aws dynamodb aws eks aws lambda aws s3 cache celery chat bot ci cli tools codetengu concurrency database migrations datetime debug django django models docker editor elasticsearch env ethereum ethers.js evm feature engineering foundry functional programming github go google bigquery google cloud platform graphql haproxy http io java javascript kubernetes linux linux sysadmin machine learning maven mongodb mysql networking nginx node.js profiling python recommender system redis scala search security smart-contract solidity subgraph testing tls transaction typescript visual studio code web crawler wordpress

Search

© 2025 I Failed the Turing Test. Stork Theme by JustGoodThemes.