许多年前 你有一双清澈的双眼你曾是少年 – S.H.E
许多年前 你有一双清澈的双眼你曾是少年 – S.H.E
今年四月份，陪伴了我快八年的 VAIO 笔记本电脑彻底报废，没能撑到高考后。
On March of this year, I received an email from Spanish Minister of Education, about a scholarship, participating in an English summer camp for a week in some city inside Spain, full-board, paying only 100 euros and costs of transport.
Talk with native English speakers for a whole week? I had never done that before, not even for a day. I wasn’t sure if I should sign up for it. At the same time, I had already got a summer job for two months, and I had to figure out a way to put them together.
After doing some research, the reviews from the Internet finally convinced me. In the end, it’s my last chance (an undergraduate can’t apply for it). The result came out at the end of April. But it wasn’t until the middle of May when I could see all the available locations.
All of them are located in the South of Spain, in cities like Cuenca, Cordoba, Jaen, etc., where the temperature goes pretty high during the summer. None of the nine locations was near the beach. We were able to pick from four weeks of July. The camp starts on Sunday’s afternoon and ends on Saturday’s morning.
I had three days to decide the location and do the payment. I can’t drive, neither someone could give a ride, so my only chance was to take a bus or a train. I feel very dizzy on cars, especially when most of the bus trips would take at least four hours from Madrid.
So I decided to take a high-speed train (AVE). It goes much faster as you could guess, and the price goes higher too. Never tried one of these before, but it would be definitely better than a bus.
I had to investigate which place of nine had the best transport options. From Madrid is easy to reach all of those locations, but the number of the train is also an important factor for me. I had to be there on Sunday at 5 pm. It would be much better if the train drops me off like 30 minutes earlier. And I picked Cordoba – Canada Verde. It has more than ten trains from Madrid every day, and there is one with arrives at 16:17, perfect.
The ticket was booked on the 10th of June after I had finished the University Entrance Exam (a.k.a Selectividad). And all I had to do was to wait, until the 30th of June.
如你所见，我把博客从 Hugo 转移回了 WordPress。暑假开始后只写了一篇长文（朝圣之路），并不是因为没东西可写，而是把仅有的时间都花在了折腾博客程序上。
While I was developing Iridescent, due to the fact that it’s a internal project, I had to limit the access only to user with email of certain domains.
Cloud Firestore, aka Firestore, is an NoSQL database released by Google on October 2017, currently it is on beta stage. It’s the successor of old Firebase database (Realtime Database), and in my opinion, the biggest change would be querying. Firestore allows you to do query based on multiple fields, which is very useful to handle data.
When I was carrying out my project Iridescent, I realized that I needed to paginate data. As the project grows up, I can’t load 100+ data all by once. Firestore has a daily limit for document reads and bandwidth, so I have to try to reduce the usage.
At the same time, a long waiting time is not part of good user experience, and loading all data by once might cause lag on low-performance devices.
Update: this tool does not work anymore due to Disqus’ export format change (GDPR), which removed commenter’s IP address and Email.
I had been using Ghost on 2015 ~ 2017. It’s a good blogging-platform, but it doesn’t have a built-in comment system, so I had to use a third-party comment service, which is Disqus.
Disqus isn’t a bad platform, in fact, I think it’s a great solution for those who doesn’t want to spend a lot of time investigating how to avoid spams or maintaining. At the same time, it has some great features like “Real time comments” or voting.
Except the loading speed.
我的第一台智能机是 Xperia X8，出厂系统是 Android 1.6 Donut，可以更新到 Android 2.1 Eclair。
配置放在当时不算高：168MB 的 RAM，骁龙 S1，可用的内部储存只有128MB。日常使用还不是特别卡，但能装的软件真的很少，以至于后来我被逼的搞了个 Link2SD 来拓展内部空间。（把应用移动到外部储存的功能在 2.2 才被加入）
在接触到 XDA 后就开始了我的刷机之旅。那时只要开启ADB调试就能Root，完全不需要解锁内核。ROM 从2.2出到了4.1，自定义内核也出了好几个。