Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 199
  1. Opentelemetry Trace Sampling in Action

    In this post, I talk briefly about trace sampling in Opentelemetry.

  2. In this post, I will share how to integrate opentelemetry tracing with GCP logging.

  3. Spell Checking for Your Projects

    We all make typos from to time, and it is time-consuming to do this manually.

  4. In this post, I want to share how to export the traces generated by your FastAPI application to the GCP observability platform.

  5. With OpenTelemetry, you can easily trace a single request across multiple services in a distributed system.

  6. Recently, I was working on migrating our Elasticsearch cluster to serverless.

  7. Elasticsearch Dynamic Mapping Pitfalls

    In Elasticsearch, when you index document to an index, if you do not specify the mapping for the field, Elastic will use dynamic mapping to infer the data type for your field.

  8. Manage uv.lock file with Renovate

    In our work, we are using renovate to update the dependency packages for Python projects.

  9. Set up Python Provider for Neovim

    To make python plugins work in Neovim, we need to set up the python provider properly.

  10. Ripgrep Config to Search Hidden Files

    Notes about how to use ripgrep to search hidden files and configuration related to Neovim.

  11. Pre-commit Setup for Your Project

    We have a Python project where there are several developers, and we have a mature CI pipeline to do code linting, formatting check for python, yaml, json, and testing etc.

  12. A major Neovim release (version 0.12) has been released a few days ago, after more than one year from the last major release (version 0.11).

  13. When unit-testing a function that make multiple external calls/requests, we want to mock the actual call and return the mock results.

  14. Migrate Python Project from Pip to Uv

    Previously, our projects are still using the old Python 3.10, which will be deprecated soon this year.

  15. In python projects, we always need a linter to catch potential issues and enforce best practices.

  16. 德语常用不规则动词

  17. 葱油鸡腿制作

  18. When I am working on a Python project, I am using black to format the code, so that we have a unified format across the code base.

  19. 菜谱:茄子肉丁

  20. In this post, I compare the object vs nested type used in data mapping in Elasticsearch.

  21. Node, Index, Shard in Elasticsearch

  22. Logging setup for Pytest

    When you do code testing using pytest, pytest can do sophisticated changes to your logging.

  23. In Elasticsearch, when we index documents to an index, by default the source of the document is stored in meta field _source.

  24. 中式葱花饼制作

    本文总结如何制作中式家常版本的“葱花饼”。

  25. 今天总结一下在德国超市里常见的蔬菜苤(piě)蓝(德语叫kohlrabi,在中国东北叫“卜留克”) 凉拌的做法。

  26. 我也有高考 PTSD

    和众多网友一样,我也有高考 PTSD。

  27. Garmin Course Syncing Not Working?

    Recently I was trying to sync my hiking course from Garmin connect to my Garmin Forerunner 965 and found that it does not work.

  28. In Elasticsearch, you can use wildcard in a lot of the index operations.

  29. This post will give a quick summary on how to import GPX route into Garmin watch.

  30. When I try to run pytest locally for a Python project, I noticed that the import in those test scripts may fail if I run pytest in different directories.

  31. 菜谱:泰式打抛牛肉

    本次来复刻泰国非常受欢迎的打抛饭。

  32. 菜谱:烤箱羊肉串

    本文总结如何用烤箱烤羊肉串。

  33. How to Filter Warnings in Python/pytest

    When we are using 3rd packages in Python, we may see some warning messages.

  34. 家常烤箱烤鸡腿

    这次来总结一下烤箱烤鸡腿的做法。

  35. In this post, I would like to compare several speakers that are relatively small in size and are suitable as desktop speakers.

  36. How to Use LuaRocks Package in Neovim

    Although neovim has built a lot of modules to ease the use of Lua, sometimes we may still want to use packages from LuaRocks.

  37. Macbook 外接显示器

    最近趁着黑五入手了外接显示器,顺便了解了一下显示器相关的各种标准和技术,本文做一个总结。

  38. 家常萝卜炖羊排

    寒冷的冬天,和羊肉汤更配。

  39. When using APScheduler package in Python, I want to run the scheduled job right after I start the scheduler.

  40. Retry for Google Cloud Client

    When we use one of the google cloud python clients to communicate with GCP, there may be errors occurring sometime calling the client API methods.

  41. 菜谱:土豆金枪鱼沙拉

    今天来总结一下土豆金枪鱼沙拉的做法。

  42. 菜谱:椰香咖喱鸡

    本次来总结一下椰汁咖喱鸡的做法。

  43. 凉拌绿豆宽粉制作

    本次来总结凉拌绿豆宽粉的做法。

  44. Make Python logging Work in GCP

    When deploying a Python application to GCP Kuberntes Engine, we may see issues that the logging level is not correct in the cloud logging explorer.

  45. Notes on Using GCP Logging Explorer

  46. 西班牙土豆饼制作

    本次来复刻一下在网上看到的西班牙土豆饼。

  47. Elasticsearch Version Conflict Error

    The version conflict error is often seen when doing document indexing operations in Elasticsearch.

  48. How to Use the Elasticsearch task API

    In Elasticsearch (ES), you can run a task and check its status with the task API.

  49. In Elasticsearch, there is index API where you can index a single document to an index.