new-thought-2019-12-05

Will translate it later.

Read More

A Way to Save Large Image From Cavnas

The website version of XICI is online for a while. I have to say, it’s more easier for me to create a subtitles screenshots-joint directly in my computer. I used to make screenshots in my computer and transfer to my mobile by wechat, then use the mini-program version of XICI. However I didn’t have no much time to test and optimize it, so there are some aawkward bugs. I have to apologize and will fix that bugs later.

Today I just fixed a bug that when your joint is too big to save, and I find a way to save large image from canvas.

Read More

My "new" mini-program":"ChatMOJI

I had a little depression last week and want to write some code to distract my attention but have no idea at all. While I was looking my Weibo I noticed someone post some SPECIAL character.

I know that stuff, it’s unicode. My first mini-programe uses unicode’s tab to generate a pure-text vertical layout. However I didn’t know it well, so I decided to look into it and see what I can achieve.

Read More

Creating continuous array of natural numbers by using Array.from

It’s a month that I don’t write anything because my busyness almost drive me crazy. Today there is a small demand to creat a continuous array of natural numbers that it’s items are all less than current hour. I think it a good idea to write it down.

Read More

XICI's new feature: XICI Lottery Machine

It took me about half a month to develope XICI’s own lottery featrue. Administrator can configure and publish lottery event in the back-end now, and the event will be drawed automatically.

Database and all the logic are built upon Minapp Cloud which is a BaaS platform I mentioned before. This time I used trigger to build cron task and used cloud function to implement automatically drawing. That features are new to me this time but there are not so difficult to solve with the documentations.

Read More

Implementing multilingual in Hexo

I want to do my multilingual site in a sudden, so I search for the simple and appropriate way to achieve that but I failed. However in Mr.SaltyLeo’s blog I found this particular article Hexo adds multi-language support「internationalized i18n」, and figure it out.

Read More

Exercise record in August

My weight grows fast and my body condition is getting bad these days, so my girl and I decide to do some excercise everyday. I was required to keep a record after daily excercise.

Read More

Enhance hexo with PWA in three steps

In previous article I mention about reviewing issue and my PWA plan will be advanced. I want to learn fist and do some experiment about PWA, so this blog became the first tester.

Read More

To Wechat mini program reviewer: Fuck you

Since everyone knows Wechat mini program has very very limited categories, you could do less when your program is categorized as “personal”. Form early 2018 when I launch my mini program, I obey the operation rules and developing code, it always passed after first review.

But I don’t know the wrong with that guys now, they unapproved my code for FOURTH tims. WHAT? The unapproved reason says: your contents involve with “Entertainment - News” which does allow in personal category. NEWS? Excuse me? The contents show in the index page are the content generated form my program with the pictures form movie or series, they are DEMONSTRATION. It has nothing to do with NEWS.

WTF? Same code, Same behavior, just fixed some bugs and it says no. The last version with the NEWS contents they think has runing for half a year, now they told me no? I have my patience lost entirely, FUCK u reviewer!

Read More

戏词的下一步

『戏词』的下一步就是网页版,而且是支持 PWA 的网页。

其实网页版已经偷偷在线上一段时间了,多亏知晓云提供的多平台 SDK 支持,迁移起来非常方便。但是还没有广而告之的一个原因就是,作为一个做拼图出身的工具,只提供了在线内容浏览而不提供工具好像有点说不过去,于是便一直拖拖拖。但是关于线上版的功能和逻辑基本上都想全了,只差一个程序员匀出时间来实现就好。

Read More