August 2022

Executing SQL Server Linux containers on Docker or Kubernetes should be aware of memory limitations

During the Kubernetes education and training on the client side a few days ago, I found that a small number of students could not deploy applications correctly. Our example is an ASP.NET Core website with a SQL Server Linux container. However, we are practicing livenessProbe . At the same time, I found that some people […]

Executing SQL Server Linux containers on Docker or Kubernetes should be aware of memory limitations Read More »

Chongqing Forest

Original link: https://sanzo.top/Life/Chungking-Express/ When a person cries, you just need to give him a pack of tissues. But a room crying, you have to do a lot of work. “Chongqing Forest” is a romantic film directed by Wong Kar-wai and released in 1994. The story tells two love stories. The first paragraph is about the

Chongqing Forest Read More »

Convert JSON Array to Excel with Sheetjs

Original link: https://www.ixiqin.com/2022/08/04/using-sheetjs-converting-the-json-array-to-excel/ In Using node-excel-stream to process Excel data row by row , I mentioned that node-excel-stream is a good choice if you want to simply do Excel reading and processing. Conversely, if you want to export JSON Array to Excel, Sheetjs is a good choice. Notice Sheetjs is different from exceljs, distinguishing between

Convert JSON Array to Excel with Sheetjs Read More »

Use node-excel-stream to process Excel data row by row

Original link: https://www.ixiqin.com/2022/08/03/use-the-node-excel-to-press-line-processing-excel-data-stream/ Data analysis is a very common requirement, and in actual landing scenarios, Python is the most used. However, because I have written the front-end for a long time, I am actually rusty with Python. When I start a project, I choose to do npm init to initialize a project. That being the

Use node-excel-stream to process Excel data row by row Read More »

warehouse — a simple-to-use JSON database

Original link: https://www.ixiqin.com/2022/08/02/json-database-warehouse-a-simple-and-easy-to-use/ Under Hexo’s Github organization, there is an obscure, but very useful repository – warehouse. Warehouse is a JSON database. Based on JSON, various SQL-like queries are implemented, which can help us to query based on a JSON file. The warehouse helped a lot during the static generation of Hexo. In official words,

warehouse — a simple-to-use JSON database Read More »

IO delivery record

Original link: https://retire50blog.wang/invest/io%E4%BA%A4%E5%89%B2%E8%AE%B0%E5%BD%95.html IO is a 300 futures option. Like the futures index, the third Friday of each month is the delivery day, and automatic cash delivery. I haven’t delivered it before, this time I will try it out. The 19th is the delivery day. On the 15th, I sold an extremely out-of-value call that

IO delivery record Read More »

Segment tree merge notes

Original link: https://blog.chungzh.cn/articles/merge-seg-tree/ Pre-knowledge: Dynamic open point line segment tree. Binary tree merge Merging is a recursive process. First merge two binary trees rooted at $u, v$: Consider the left subtree If neither $u nor v$ has a left subtree, leave it blank; If only $u$ has a left subtree, then the left subtree of

Segment tree merge notes Read More »

How to tell what color a color is?

Original link: https://www.ixiqin.com/2022/08/01/how-to-determine-if-a-color-is-what-color/ When you see this title, you may be a little confused: “What color is a color?” This question is so nonsensical. But if I use it the other way around, you might be able to understand – how do humans tell if a color is red instead of green? Back when I

How to tell what color a color is? Read More »

July 2022 Monthly Summary

Original link: https://www.ixiqin.com/2022/07/31/in-july-2022-the-monthly-summary/ Objective 1: Continue to obtain cash flow and build a cash cow with future income KR1: The investment income reaches 20,000 yuan The floating profit that fell before has risen again. Still quite happy. KR2: The single manuscript fee exceeds 6,000 yuan no change. But I saw a new point of view:

July 2022 Monthly Summary Read More »

Use the applet’s Canvas 2D to extract the color of a specific point

Original link: https://www.ixiqin.com/2022/07/30/canvas-2-d-extraction-using-a-small-application-specific-colors/ In the applet, we can get the user’s click behavior by binding the Tap event on the Canvas canvas. When we get the coordinates corresponding to the click behavior, we can read the color of the corresponding position. And according to our needs, convert the color to the RBG color value we

Use the applet’s Canvas 2D to extract the color of a specific point Read More »

Draw local pictures using Canvas 2D API in applet

Original link: https://www.ixiqin.com/2022/07/29/in-a-small-program-used-in-the-canvas-api-to-draw-2-d-local-pictures/ Since Applet 2.9.0, it is no longer recommended to use its own encapsulated Canvas Context. Instead, it is recommended that you use the standard Canvas 2D API to complete related operations. Therefore, for developers, it is necessary to adjust the past Canvas API to the new standard API. It just so happened

Draw local pictures using Canvas 2D API in applet Read More »