Mentality: reptile combat - from the data to the product

Jingdong link: item.jd.com/12575102.ht...

After nearly a year of hard creation, editing, wait, the book was finally published. This feels a bit like a pregnant woman, but not painful birth time, only the resulting joy. Now remember last year received the invitation, and then to tangle, and then the pain just started writing, and after the last into the draft relieved, all think it is a life experience. I'd think the purpose of the book is not to make money, write a book himself, summed up his past, will experience spread to others, on it.

The story - had to start from 2017

About January 2017, thanks to Mount bike finally into Chengdu. Unlike Chongqing as uphill downhill, relatively flat terrain Chengdu Plain, Chengdu had had so many cyclists, the streets have bicycle sight. As a necessary short-distance transport, the bicycle into the Mount thanks be to travel has brought great convenience.

One day in Mount View APP worship bicycle when the whim whether you can get location data of these cars, and then try to analyze operating performance, Chengdu in the end to see how much car. Turn on the computer, an API analyze hundreds of times, we figured it out interface (API), and then wrote a simple reptile, a month or so of data acquired and analyzed. Then he made a few articles on Jane books and the source code in the github.com/derekhe/mob... that the repo.

Surprisingly, these analyzes actually get a very large flow, two or three days to read to the amount of more than 10,000, and even attracted the attention of the other data analysis also "success": asked how you get data?

2018

2018 Along the way, then I continue to analyze and crawling car sharing, freelance websites, and continue to adhere to the June 2016 started the ticket data reptiles do it faster and more stable.

At the end of 2017, dogs love to fly on travel applet line, I will collect the ticket data public, and integrates a forecasting system. Aware applets specially written an article on this coverage. Then, in the second half of 2018 ThougtWorks external YottaBytes share in the planning, development, and technology behind the practice I would love to fly the dog's entire product are shared out and write articles.

Books?

The end of March 2018, the electronics industry publishing house editor Anna contact me and see if I can about a manuscript. At that time I did not mind, think about writing a book now regarded as a major project, time-consuming, then wanted or not you want to forget? Later, more communication and editors found aspects of the book reptiles still relatively recent hot, but also hot for some time, I did the work also happens to be very relevant and reptiles.

I then read some books related to current reptiles, reptiles found that many books are written very primary, talk about Python's syntax, talk about the use of several libraries, get two examples would be finished, and even some books actually used page 76 speaking install a variety of things! ! Primary reptiles are often very simple, you can climb a few sites, but more complex how to get app data, how to crack some of the sign of ideas, but not completely. Perhaps it is too complicated. Some even get our hands on the data, how to analyze, how to visualize, and there was little to explain.

If I write it, I will not write such a book, I can not write the primary book. I want to write, it must start from an idea how to implement this idea, how to solve the difficulties. Case, it must be end to end, the data will reach the practical stage.

Fortunately, a variety of data analysis done before the case, there are certain business background, there are some data available to some fans were more in-depth analysis, there are some data to help some companies even make some new business expansion try. I edit and communicate these ideas, then started working on it! (In fact, the heart is a bit tangled, because I think to write a very long time, very uncomfortable)

It started

This is the most primitive single topic, you can see an example of the fact it was in fact wanted to write the book presents more than it is now. But as the target website changes too, as well as examples of some sites not appropriate, it was cut.

Finally, only half the time ah ......

All things are difficult, the first to write an outline of it:

Start

工欲善其事必先利其器, wrote a graduate thesis in 2009, it touches on the very Word play slip. But now both the 2018 yo, whatever the outcome, with the point of Markdown it!

Well, to use Markdown. But using Markdown, I need to put each chapter separately it? Later tried it found that a single Markdown files is very conducive to the management, do not put things got a little older, like to remove the split:

  • Easy to preview the entire book case
  • Mutual convenience between the reference section
  • Avoid trouble when the adjustment section

Then, install Markdown Preview Enhanced plug-in in Visual Studio, this tool well:

  • Automatic Preview
  • Automatically catalogs
  • Automatic inline images, inline code
  • Can be exported into a variety of formats (Word format, PDF format)

Finally, of course, the whole project will be managed by git, which is the most basic of friends.

Which I think it needs to come up with terms that, Markdown can directly reference the code. This means that I side with the code while writing the book, can be seamlessly integrated into the article, so I changed the code after the code book has also been updated, to avoid the problem of sync.

A year

Now look at the whole process.

I like to bang this one is to do a job. In order to ensure timely delivery, every day is assigned at least two hours, there have been some accumulation of material prior to plus, so writing the whole book are relatively fast. Basically in four months time to focus on finished books. After the completion of the first draft, I do far less, mainly because some proofreading work.

  • The end of April: establishing Repo
  • Early May: writing the first chapter
  • Early June: Complete bike partly written
  • The end of June: the completion of the writing part of car sharing
  • The end of July: the completion of the writing part Freelancer
  • Early August: Increase love flying dog products
  • The end of September: Complete all written and convert docx for editorial changes
  • Early October - - the end of December in a row
  • The end of December to early January: two rows, get the ISBN
  • The end of February: Final Appeal
  • 3 months: cover, re-check pricing
  • The end of March: the kind of book

experience

  • Ongoing contact and edit, edit almost finished writing a chapter gave a look to get feedback that avoids a lot of detours. The first books, facing what needs to be done to understand the book is relatively small, usually combined with an agile project are emphasized rapid feedback, in the course of the book is also, in time to avoid some of the pit.
  • Big bang, adhere to spend some time to write every day, avoid procrastination
  • Long-term blog, the accumulation of material

pit

In the course of the book there are some unavoidable "pit." For one thing, unlike a blog write books so random, as well as providing content for language must have a regulatory inside. Bad luck is paid after the first draft, editor told me in 2018 to map the relevant national image management is very strict. I understand related books must be reviewed, although said it was free, but in order to avoid time consuming audits and some potential risks, we have some maps related to the picture book, the contents of some modifications and deletions.

Reptile This technique has certain legal risks, under consideration of the book also repeatedly mentioned the name of APP certain place, we will be the name of the play yards, and emphasized these ideas and code are for reference only.

Writing the first draft of the said feedback is very straightforward, full of dry goods, after the audit is to say the language softer. Because of this and other similar books architecture books first lot of the basics are not the same, leading publishers suggested that the structure of the book will be adjusted into the former presentation tools, case in the post. But what I want to try to avoid, I do not want to spend the reader to the place where the original online can be found quickly, so refused.

Since the age of the Internet changes rapidly, Web sites and APP are revised, so the reptile-related code, there have been some can not be used. This is something to be expected, but the method in the book passed, are common.

to sum up

In any case, can be considered the first book came out, on the shelves is a great inspiration to me. The book is not easy, once you start going bang. The accumulation of normal is very important, so a lot of writing blog it.

PS: Nuggets very strange ah, xieshu, chushu (own brain supplement) are keywords, not to publish. Only change the words.

Guess you like

Origin blog.csdn.net/weixin_33692284/article/details/91386431