Đọc file Numpy bằng C# và NumSharp
Có nhiều thư viện hỗ trợ tính toán khoa học trong C#. Một trong số đó là NumSharp, một bản port của Numpy. Hôm nay, ta sẽ dùng nó để đọc file Numpy.
About technology stuff that piqued my interest
Có nhiều thư viện hỗ trợ tính toán khoa học trong C#. Một trong số đó là NumSharp, một bản port của Numpy. Hôm nay, ta sẽ dùng nó để đọc file Numpy.
There are many library to support scientific computing in C#. One of them is NumSharp, a port of Numpy in C#. Today, we will use it to read Numpy files.
The OpenAPI Generator tool can help us generating API clients from the OpenAPI Spec. But what if we want to add some modification? Enter the Mustache template.
OpenAPI Generator giúp ta sinh code cho API client mà chỉ dựa vào file OpenAPI Spec. Và khi ta cần tùy biến client đó, ta có thể sử dụng Mustache template.
I used to write all API client code myself. Then I took an OpenAPI Generator to the knee. The works that used to take day can now be done in seconds.
Việc tự mình viết code để gọi API tiêu tốn tương đối nhiều thời gian. Với OpenAPI Generator, ta có thể tự động hóa công việc không mấy thú vị này.
Có lẽ nhiều người cho rằng việc đọc file CSV là vấn đề đơn giản. Tuy nhiên khi tìm hiểu sâu ta sẽ thấy là format CSV có rất nhiều điểm tréo ngoe.
Write code to read CSV files does not seem like a difficult task. Then you learn of all those caveats of the CSV format.
In Redis, there is no concept of sliding expiration. If so, how did StackExchangeRedis implement this feature? Let’s find out here.
Trong Redis không tồn tại khái niệm sliding expiration. Vậy StackExchangeRedis đã implement tính năng đó như thế nào? Cùng tìm hiểu tại đây.