Est’s Blog

Est’s Blog

I have some feelings. Recently, many people are scolding Zelenskyy. Just like they scolded Trump, the actor of “The Apprentice” in 2016, the actor has gone wrong. But thinking about it on the other hand, who are the people in the first three rows of the podium who are not actors? . . King Zhou …

Est’s Blog Read More »

Plays and Stories

I have some feelings. Recently, many people are scolding Zelenskyy. Just like they scolded Trump, the actor of “The Apprentice” in 2016, the actor has gone wrong. But think about it the other way around, who are the people in the first three rows of the rostrum… This article is reproduced from: https://blog.est.im/2022/stderr-05 This site …

Plays and Stories Read More »

Est’s Blog

I saw an academician’s joke on the Internet 1 2 After searching, on March 14, 2020, in the online popular science activity held by the Chinese Society of Industrial and Applied Mathematics, Yuan Yaxiang, an academician of the Chinese Academy of Sciences, brought a theme report entitled “Mathematics Talk” https://mp.weixin.qq.com/s/JllGeuveomjFDFg3C5r9FQ There are many amazing stories …

Est’s Blog Read More »

Add UTF-8 BOM header to Flask-Admin export

A simple trick to add additional bytes prepending Flask’s stream_with_context from flask_admin.contrib.sqla import ModelView from itertools import chain class MyAdminView(ModelView): can_export = True column_export_list = [‘field1’, ‘field2’] def _export_csv(self, return_url): r = super(MyAdminView, self)._export_csv(return_url) r.response … This article is reprinted from: https://blog.est.im/2022/stdout-05 This site is for inclusion only, and the copyright belongs to the original …

Add UTF-8 BOM header to Flask-Admin export Read More »

Est’s Blog

As a Phase 1 CEO, you are the lead rower on the boat. But in a Phase 2 startup, your job is no longer to row. Instead, it’s to define the purpose of the voyage, set the direction of the boat, and measure the pace and performance of a much larger number of rowers. In …

Est’s Blog Read More »

Est’s Blog

A simple trick to add additional bytes prepending Flask’s stream_with_context from flask_admin.contrib.sqla import ModelView from itertools import chain class MyAdminView(ModelView): can_export = True column_export_list = [‘field1’, ‘field2′] def _export_csv(self, return_url): r = super(MyAdminView, self)._export_csv(return_url) r.response = chain((b’\xef\xbb\xbf’,), r.response) return r I am still using Python2 and Flask-admin shit. It’s a shame but anyway. This article …

Est’s Blog Read More »

Kubelka-Munk pigment color mixing theory and mixbox source code

Paper published at SIGGRAPH Asia 2021 https://scrtwpns.com/mixbox/ Traditional RGB average mixing vs mixbox mixing The reason is that it is no problem to take the average value of optical color mixing, and many colors are mixed in the middle… This article is reproduced from: https://blog.est.im/2022/stdin-06 This site is for inclusion only, and the copyright belongs …

Kubelka-Munk pigment color mixing theory and mixbox source code Read More »