avatar

Coderek's blog

Loneliness is the gift of life
Posts tagged with problem-solved

One task I finished recently was to optimize the loading time of table of content(ToC). ToC is the most important API we are using. Currently, it loads the entire table of content before the initiali…

Read more ››

An interesting task I was assigned recently was to fix the app in RTL mode. Our app is an react app built using webpack. When it's working in the RTL mode, the react app will be under <body dir='…

Read more ››

Pear Mail Queue 的docs有一个bug让我花了不少时间来fix。 本来想图个方便,直接直接run Mail Queue文档里的范例。但不管怎么都不能put mail到数据库。我用的是mysql的driver,唯一的错误就是一个unknown error。把PHP的error_display set成 E_ALL | E_STRICT,出来一大堆deprecated的错误。Mail…

Read more ››

A few problems

今天一整天基本上都在 fix bugs. email graph的那个问题已经弄了好久了,将近一个月吧。昨天submit了我的第n个fix,但今天却还是被告知fail,真的有些不爽的。问题是这样的:用户可以通过前几个月的报告数据生成一个图表,这个图表是php生成的一个jpeg图片。它的地址是以绝对路径存储在数据库里的(这里先不说不该用绝对路径)。我们在给用户一个软件的安装程序的时候(一个tar.…

Read more ››