It’s already May and one third of 2018 has already passed. Weekend e homebody suddenly remembered that his mind to do slider has another simple way to achieve 10,000 times. I’m not all right. That more than a week to write the code almost all went to waste, this is due to slider did not have a good research predecessors method: (
Slider layout with Flexbox, mouse event handling, themes, vertical sliders… MD has done nothing:
Finally found using native input[type=range], hidden browser native style, directly change CSS can be. Can also be modified to vertical effect, HollyShiiiiit!
It is the easiest way to change the styles directly based on the native components. The following is a demo of slider.
The recent book
This year reading is also slower, but also to see a few good.
Refresh: Rediscovering Business and the Future by Satya Nadella, CEO of Microsoft. The book records the author’s thoughts on the reform of Microsoft, as well as his thoughts on technology. The writer is also a cloud expert at Microsoft and used to be in charge of Bing search. Jump out of the programming itself, see the big guy for the future technology thinking, combined with Microsoft in recent years of great progress, as well as IBM and other big companies on cloud computing, quantum technology optimistic. Partial notes:
- For leaders, consensus by fiat is not really consensus. Any institution building stems from a clear vision and culture that drives progress from the top down as well as the bottom up.
- Our world is no longer centered on personal computers. Computing became ubiquitous
Waste Life on beautiful Things by Wu Xiaobo. The book records many of the author’s views on contemporary social problems and his own experience. In particular, some of the social issues in a blow, concise pointed out the nature of the problem, but also recorded a lot of social and economic past. Good. Partial notes:
- The complexity and scale of modern society make it difficult for the average person to have a clear grasp of it. Modern people generally engage in a single kind of work… They rarely engage seriously in public discussion. . From the book “My Idol Lippmann”
- Everything is centered on economy and everything is benchmarked by wealth. So-called wisdom, happiness and value all seem to be quantifiable, while ethics and morality become optional luxuries, and their bottom line can often be easily penetrated.
The author mentions many practical problems, as a programmer, but also as an enlightened citizen. We have a reason and a responsibility to think rationally and comprehensively:
- Whether our public education will ensure equal access to education, and whether the reduction of education burden will promote private education
- Can our plastic waste be controlled effectively? How to reasonably control plastic consumption in the takeout industry?
- Do we really need blockchain? . For many problems, we should have our own thinking and action
The recent plan
Since we have started projects based on Vue, and the Vue ecosystem is rich enough that there are many tools or frameworks that can encapsulate Vue apps as PWA, Hybrid mobile apps or wechat applets, thanks to the open source community, we can easily make applications that are compatible with more platforms.
Prepare to use a recently written loan calculator as a demo and convert it into a small program or native app. Another thing is to write an article or two about the journey of making UI components. Finally, I am going to read Wu Jun’s book. Like Wu Xiaobo, he is concerned about the operation rules of social economy. Maybe technical people have different ways of thinking about the world.
The catalogue of Wu Jun’s books