I Failed the Turing Test

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

All posts by Vinta

Remotely debug a Python app inside a Docker container in Visual Studio Code

Posted on 2018-02-242019-10-22Author VintaPosted in Python, Web Development

In this article, we are going to debug a Flask app inside a local Docker container through VS Code's fancy debugger, and simultaneously we are still able to leverage Flask's auto-reloading mechanism. It should apply to other Python apps.

MongoDB cookbook: Indexes

Posted on 2018-02-142019-10-22Author VintaPosted in Database

The order of fields in an index matters, you must consider Index Cardinality and Selectivity. Instead, the order of fields in a find() query doesn't affect whether it can use an index or not.

MongoDB cookbook: Queries and Aggregations

Posted on 2018-02-142023-08-19Author VintaPosted in Database, JavaScript, Python

Frequently accessed items are cached in memory, so that MongoDB can provide optimal response time.

Run a Celery task at a specific time

Posted on 2018-02-092019-10-22Author VintaPosted in Python, Web Development

You are able to run any Celery task at a specific time through eta (means "Estimated Time of Arrival") parameter.

Timezone in Python: Offset-naive and Offset-aware datetimes

Posted on 2018-02-042019-10-22Author VintaPosted in Python

You should always store datetimes in UTC and convert to proper timezone on display.

Posts pagination

← Previous Page 1 … Page 7 Page 8 Page 9 … Page 23 Next →

Say Hello

TwitterFacebookLinkedInGitHubRSS

Recent Posts

  • 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
  • How to Stay Safe Online: Tips for Personal Security
  • 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
  • Amazon EKS: Setup kubernetes-external-secrets with AWS Secret Manager

Categories

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

Tags

amazon web services apache spark 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.