未來編程語言的走向_在編程方面我從失敗走向成功的過程以及讓我成功的原因

未來編程語言的走向

In the past 10 years, I’ve had three separate experiences trying to learn programming. I’ve wondered why I’ve had such different results. What had caused me to both fail and succeed?

在過去的10年中,我有3種不同的嘗試學習編程的經驗。 我想知道為什么會有如此不同的結果。 是什么使我失敗和成功?

I’ve finally come to an answer!

我終于回答了!

In all three experiences, there were three factors that had the biggest impact.

在所有三種經驗中,有三個影響最大的因素。

I will take you through each experience and show you exactly how each factor played a role in whether I failed or succeeded.

我將帶您經歷每一次經歷,并向您確切說明每種因素如何影響我成功與否。

最初的失敗 (Initial failure)

I had my first taste of programming back when I was 18 years old. Fresh out of high school.

當我18歲時,我第一次嘗試編程。 高中剛畢業。

First year in university.

大學一年級。

This wasn’t a computer science or software engineering program. I was in Civil Engineering. Think buildings and bridges.

這不是計算機科學或軟件工程程序。 我在土木工程專業。 考慮建筑物和橋梁。

It was an introductory computer science course taught in Matlab. All Engineers had to take it.

這是Matlab開設的計算機科學入門課程。 所有工程師都必須接受。

To be fair, if it wasn’t for my programming friend, I don’t think I would have done very well in the class. There were many concepts I simply couldn’t grasp. Even with external help.

公平地說,如果不是我的編程朋友,我認為我在課堂上不會做得很好。 有許多我根本無法掌握的概念。 即使有外部幫助。

I could look back and blame a million things as to why I didn’t learn all the concepts. Why I left that class hating programming. However, it would just be a bunch of excuses.

我回頭指責一百萬件事,為什么我沒有學習所有的概念。 為什么我離開了該類討厭編程的人。 但是,這只是一堆借口。

So why did it happen? Why did I fail?

那么為什么會發生呢? 為什么我失敗了?

太酷了 (Too cool)

I failed to learn programming because I didn’t have the desire to learn it. Yes, desire! It was simply a requirement for me. A requirement so I could get my degree.

我沒有學習編程,因為我不想學習它。 是的,欲望! 這只是對我的要求。 一個要求,所以我可以得到我的學位。

Nothing more, nothing less.

僅此而已。

I didn’t WANT to take the class. I HAD to take it. That mindset makes a big difference in how you approach learning.

我不想上課。 我不得不接受。 這種心態在學習方式上有很大的不同。

The only benefit I saw in taking the class was so I could get my degree. Not to expand my knowledge, or learn something new. I had a closed mind towards learning how to program.

我上這堂課的唯一好處是可以得到學位。 不要擴展我的知識或學習新知識。 我對學習如何編程持開放態度。

No wonder that the end result was terrible. I had left that class hating programming and never wanting to program again. It had frustrated the heck out of me because I never got those beginner concepts.

難怪最終結果是可怕的。 我離開了那個討厭編程的班級,再也不想再編程了。 這讓我很沮喪,因為我從來沒有那些初學者的概念。

But I had seen the power of programming and what some people were able to do with it. So I did at least leave the class with a respect for programming.

但是我已經看到了編程的力量以及某些人能夠做到這一點。 因此,我至少在上課時要尊重編程。

I just thought that it wasn’t for me.

我只是認為這不適合我。

無光 (No light)

Not having a purpose was the next factor that determined my failure. To me, I didn’t have a purpose beyond a requirement.

沒有目標是決定我失敗的下一個因素。 對我來說,我的目標沒有超出要求的范圍。

My purpose was just to get a good grade, and it showed. Years after I finished the class, I had literally forgotten almost everything. It just didn’t stick in my mind. There was no reason for it to.

我的目的只是為了獲得良好的成績,而且證明了。 我上完課的幾年后,我幾乎忘了一切。 它只是不留在我的腦海。 沒有理由這樣做。

I had simply learned it for the present, and not for the future.

我只是從現在而不是將來學到的。

My plan was never to learn programming. It was to get through the course. I wanted to get my degree and I had to do whatever that required.

我的計劃是永遠不要學習編程。 這是為了完成課程。 我想獲得學位,所以我必須做任何必要的事情。

If I had a purpose for this, it would have helped in creating the last factor. As purpose alone will not get you there.

如果我有此目的,那將有助于創造最后一個因素。 僅憑目的并不能幫助您實現目標。

不夠重要 (Not important enough)

The last factor is motivation. This is also what I was missing, and what caused me to fail.

最后一個因素是動力。 這也是我所缺少的,也是導致我失敗的原因。

When I’m motivated to do something, I don’t give up. I will try again and again until I figure it out. Until I get it right. That is the type of person I am.

當我有動力去做某事時,我不會放棄。 我會一次又一次嘗試,直到找出答案。 直到我說對了。 那就是我的類型。

So why didn’t I apply this motto when I couldn’t grasp several programming concepts?

那么,當我無法掌握幾個編程概念時,為什么不應用這個座右銘呢?

It was because I didn’t have the motivation.

那是因為我沒有動力。

Why should I have to spend more time and effort to learn programming when it wasn’t even relevant to my degree? I had other more important classes.

為什么與我的學位無關的我為什么要花更多的時間和精力來學習編程? 我還有其他更重要的課程。

Even if I had the desire and purpose to learn programming, I didn’t have the motivation. I would not have succeeded anyways. I would have given up. I wasn’t willing to spend the time and dedication required to learn it.

即使我有學習程序設計的愿望和目的,也沒有動力。 反正我不會成功。 我會放棄的。 我不愿意花費時間和奉獻精神來學習它。

How different were these factors in my next attempt?

這些因素在我下一次嘗試中有何不同?

第一次成功 (First Success)

Fast forward to eight years later. That is about how long it took me to try my hand at programming again. Yes…eight years!

快進到八年后。 那是我花了多長時間才能再次嘗試編程。 是的……八年!

It took me a very long time to return.

我花了很長時間才回來。

In the meantime, I had gotten my degree. Took a little bit of time off to travel, and worked for several years.

同時,我獲得了學位。 花了一點時間旅行,并工作了幾年。

Then I finally came to a point where I wanted to try programming again.

然后我終于到了再次嘗試編程的地步。

Yes, I wanted to!

是的,我想!

You might be thinking… what? Didn’t you say you hated programming?

您可能在想...什么? 您不是說您討厭編程嗎?

Yes I did, but time heals all wounds. Situations change.

是的,我做到了,但是時間可以治愈所有傷口。 情況改變了。

This time around things played out differently.

這次周圍的情況有所不同。

Why?

為什么?

It all had to do with those three factors again.

這又再次與這三個因素有關。

極限 (The limits)

This time my desire to learn programming was starkly different. I had a reason. I wanted to learn programming.

這次,我學習編程的愿望完全不同了。 我有一個理由。 我學習編程。

How did I get to wanting to learn?

我怎么想學習?

Well, a bit before this point I had started getting into entrepreneurship and reading business books. I was slowly realizing that one day I wanted to have my own online business.

好吧,在此之前,我已經開始涉足企業家精神和閱讀商業書籍。 我逐漸意識到,有一天我想擁有自己的在線業務。

I knew that if I wanted to do something online, I should probably learn programming.

我知道,如果我想在線做某事,我可能應該學習編程。

Though this wasn’t the driving factor why.

盡管這不是原因。

The factor actually came from a pain point of mine. Over those eight years, I became very skilled at Excel. I was the spreadsheet guy at work.

該因素實際上來自我的痛苦點。 在那八年中,我變得非常擅長Excel。 我是工作中的電子表格人。

However, making long if statements in Excel soon became a nuisance.

但是,長時間使用Excel中的語句很快變得很麻煩。

It started frustrating me.

它開始讓我感到沮喪。

I knew I could do more if I knew how to program. I could make better, more powerful, and easier spreadsheets.

我知道如果我會編程,我可以做得更多。 我可以制作更好,功能更強大,更輕松的電子表格。

I had only recently become aware of the power of macros. I had known about macros long before, but never really bothered to figure out what they were for. So I put these thoughts together and researched macros.

我直到最近才意識到宏的功能。 我很早以前就了解宏,但是從來沒有真正去弄清楚它們的用途。 因此,我將這些想法放在一起并研究了宏。

This lead me to realize that I needed to learn VBA for Excel. Which also meant learning how to program.

這使我意識到我需要學習VBA for Excel。 這也意味著學習如何編程。

So back to programming it was, but this time I had the desire.

回到編程,但是這次我有愿望。

It came from the pain of not being able to do things in Excel that I wanted. I wanted to do more, but I couldn’t, as I didn’t have the skills.

這是由于無法在Excel中執行所需的操作而造成的。 我想做更多,但我做不到,因為我沒有這個技能。

多做 (Do more)

My purpose was very simple.

我的目的很簡單。

I wanted to create more powerful and easier spreadsheets. As this would help me out at work. It wasn’t for some purely selfish reason. It was to make my life at work easier.

我想創建功能更強大,更簡單的電子表格。 這樣可以幫助我上班。 這不是純粹出于自私的原因。 這是為了使我的工作更輕松。

I knew I had a project coming up where if I used macros, it would be much simpler.

我知道我要進行一個項目,如果我使用宏,那會容易得多。

I was also really starting to realize the importance of continued education, and thought this would be a great way to increase my skill-set.

我真的也開始意識到繼續教育的重要性,并認為這將是提高我的技能的好方法。

With that, and a rough timeline, I set out to learn VBA for Excel.

有了這些,以及大致的時間表,我開始學習VBA for Excel。

I did some research. Found an excellent free online course to learn from. Everything was set.

我做了一些研究。 找到了一個很好的免費在線課程供您學習。 一切都準備好了。

My purpose was to use programming on my next Excel project.

我的目的是在下一個Excel項目中使用編程。

尋找快樂 (Finding the joy)

I was working full-time and spent most of my day in front of a computer screen. The last thing I wanted was to do more work at home.

我全職工作,大部分時間都在電腦屏幕前度過。 我想做的最后一件事是在家做更多的工作。

I had a mentally exhausting job and I didn’t want to drain myself more. I wanted to rest, recover and enjoy my free time.

我的工作很費力,我不想再浪費自己的時間。 我想休息,恢復并享受我的空閑時間。

But that wasn’t possible.

但這是不可能的。

What I discovered from reading books was that I needed to change my mindset in order to succeed.

從讀書中發現,我需要改變思維方式才能成功。

I shifted my priorities and goals. I made learning VBA for Excel a high priority. Everything else that didn’t help me get there was a waste.

我改變了工作重點和目標。 我將學習VBA for Excel放在了高度優先地位。 其他沒有幫助我到達那里的東西都是浪費。

I also looked at this as something that I wanted and enjoyed. As a challenge. It didn’t feel like homework, work, or study. I made it enjoyable. Only then did it become easy to establish good habits and consistency.

我也將此視為我想要和喜歡的東西。 作為挑戰。 感覺不像是作業,工作或學習。 我使它變得愉快。 只有這樣,養成良好的習慣和一致性才變得容易。

Having this consistent motivation to learn, I completed the course.

有了這種不斷學習的動力,我完成了本課程。

Win!

贏得!

Some topics/concepts did take me longer to grasp, but I simply spent more time on them.

有些主題/概念確實花了我更多的時間,但我只是花了更多時間在它們上面。

At work, I also wrote small VBA programs to solidify my learning. When the project finally came around to me, I was able to use my skills to build a nice, easy-to-use spreadsheet.

在工作中,我還編寫了小型VBA程序以鞏固我的學習。 當項目最終出現在我的腦海中時,我能夠使用自己的技能來構建漂亮的,易于使用的電子表格。

I was proud of what I was able to do!

我為自己的能力感到驕傲!

第二次成功 (Second Success)

While this one is still in progress, I consider it a success. Though it hasn’t been easy. There was actually a time where I thought I would fail.

盡管這一過程仍在進行中,但我認為它是成功的。 雖然這并不容易。 實際上曾經有一段時間我以為我會失敗。

After my first triumph with VBA for Excel, I realized its limits. One big one being that it is bound by the Excel environment.

在使用VBA for Excel取得了第一次勝利之后,我意識到了它的局限性。 一個很大的問題是它受Excel環境的約束。

Also around this point in my life, I became even more hooked on entrepreneurship. I knew I wanted to create an online business so I could finally have the ability to make my own website.

同樣在我生命中的這一點上,我變得更加著迷于企業家精神。 我知道我想創建一個在線業務,因此我最終可以創建自己的網站。

I realized that continuing in VBA wasn’t the best idea. I needed to learn another programming language.

我意識到繼續VBA并不是最好的主意。 我需要學習另一種編程語言。

After doing a bunch of research, I settled on JavaScript.

經過大量研究,我選擇了JavaScript。

I found out that it was a good beginner language to learn. Plus it helped that there were many great free resources to learn from like freeCodeCamp.

我發現這是一種很好的初學者學習語言。 另外,它像freeCodeCamp一樣有很多很棒的免費資源可供學習。

Nine months after my VBA success, I made the commitment to learn JavaScript. I chose to start off with the freeCodeCamp curriculum.

在VBA成功9個月后,我就致力于學習JavaScript。 我選擇從freeCodeCamp課程開始。

兩條路 (Two paths)

My desire to continue learning programming this time was twofold. One was so that I could eventually build a website and start an online business. This desire was a want.

我這次希望繼續學習編程的愿望是雙重的。 一個目的是讓我最終可以建立一個網站并開始在線業務。 這種欲望是一種渴望

The other came from reading many inspirational books, and I finally just wanted to do something. I simply got tired of learning and wanted to act.

其他來自閱讀很多勵志書籍,我最后只想一些事情。 我只是對學習感到厭倦,想采取行動。

These two reasons were the driving force in continuing my journey to learn programming.

這兩個原因是我繼續學習編程的動力。

畫一個空白 (Drawing a blank)

This time around, I really didn’t have a specific purposee — as in, I wanted to learn programing to do X. Or I wanted to do X after I learned programming.

這次,我確實沒有特定的目標-例如,我想學習編寫X的程序。或者,我想在學習編程后再編寫X。

I just thought that it would be useful to know so I could make a website one day. I didn’t have anything specific in mind.

我只是想知道這很有用,因此我有一天可以建立一個網站。 我沒有什么特別的主意。

為什么不 (Why not)

My motivation was actually a bit weak. It came from two things:

我的動機實際上有些虛弱。 它來自兩件事:

One was from not having anything better to do. The other was to keep learning so one day I could build a website, or a web app.

一是沒有更好的事情要做。 另一種是繼續學習,以便有一天我可以建立一個網站或一個Web應用程序。

If you have noticed, this was a reoccurring theme in my life — building a website.

如果您已經注意到,這是我一生中經常發生的主題-建立網站。

This time I didn’t have that super high motivation. I think part of the motivation was riding a bit of a high from my VBA programming success.

這次我沒有那么高的動力。 我認為部分動機來自于我的VBA編程成功。

I had some confidence built up and used this as my motivation.

我建立了一些信心,并以此為動力。

I had a weak version of all three factors accounted for. I thought this would be enough to achieve success. However, after accumulating around 190 points in freeCodeCamp, I hit a stump.

我對這三個因素的解釋都很弱。 我認為這足以取得成功。 但是,在freeCodeCamp中累積了大約190點后,我遇到了一個難題。

挫折 (Setback)

I found the early lessons in the freeCodeCamp curriculum easy to grasp. However, soon these little exercises were taking longer and longer to do. They were becoming a lot more challenging.

我發現freeCodeCamp課程的早期課程很容易掌握。 但是,不久之后,這些小練習就花費了越來越多的時間。 他們變得更具挑戰性。

When the exercises got too challenging, I switched over to work on my first project.

當練習變得太具挑戰性時,我轉到了第一個項目。

This only made me feel overwhelmed. Lost. Discouraged. I didn’t know what to do or how to start.

這只會讓我感到不知所措。 丟失。 灰心。 我不知道該怎么辦或如何開始。

In the meantime, I was also pushing myself down the entrepreneur path. I had recently come up with an idea for an invention.

同時,我也在推動自己走上企業家之路。 我最近想出了一個發明的主意。

This is when I started to have an inner conflict between programming and entrepreneurship.

這是我開始在編程和企業家精神之間產生內在沖突的時候。

As programming got more difficult, my desire to work on my invention took over. So I gave up on programming.

隨著編程變得越來越困難,我從事發明工作的愿望接took而至。 所以我放棄了編程。

I pursued the invention, and after many months, I failed at that too. I had even made a prototype. It wasn’t until I started talking to people about the idea where I found out some horrifying news.

我追求了這項發明,幾個月后,我也失敗了。 我什至做了一個原型。 直到我開始與人們談論這個想法時,我才發現一些可怕的消息。

Someone told me that the invention already existed!

有人告訴我,該發明已經存在!

I was in disbelief. I checked, and sure enough it was true. I was heartbroken.

我難以置信。 我檢查了一下,果然是真的。 我傷透了心。

I went back to the drawing board. Back to reading/learning about entrepreneurship.

我回到了繪圖板上。 回到關于創業的閱讀/學習。

Six months passed before I decided to begin another stint of doing. It was another business idea. And another failure.

六個月過去了,我決定開始另一次工作。 這是另一個商業想法。 還有另一個失敗。

回到正軌 (Getting back on track)

It actually took around one full year before I decided to go back to learning JavaScript through the freeCodeCamp curriculum.

實際上,我花了整整一年的時間才決定通過freeCodeCamp課程重新學習JavaScript。

I had done a little bit of learning here and there, but nothing was consistent. None of those attempts were serious.

我在這里和那里做了一些學習,但是沒有什么是一致的。 這些嘗試都不是認真的。

That is, until my mindset changed.

也就是說,直到我的心態改變。

用我的沮喪 (Using my frustration)

My desire didn’t change a whole lot, but it had a significant impact.

我的愿望并沒有改變很多,但產生了重大影響。

I no longer had as strong of a desire to do things. I didn’t want to force myself to pursue (do) another business idea. I wanted it to come more naturally.

我不再渴望做某事 。 我不想強迫自己去追求(做)另一個商業想法。 我希望它變得更自然。

So I pushed “doing something” (in terms of business) down in priority.

因此,我優先考慮“做某事”(就業務而言)。

Don’t get me wrong, though. I still had the desire to do something, but it always seemed to come down to one excuse.

不過不要誤會我的意思。 我仍然有做某事的愿望,但似乎總是可以歸結為一個借口。

That I didn’t know how. How to make a website. How to program.

我不知道怎么做 。 如何建立一個網站。 如何編程。

This is where my new desire came from.

這就是我的新愿望來自何處。

FRUSTRATION!

挫折!

Frustration that I wasn’t able to program my own website so I could test out future business ideas. This limiting factor really annoyed me.

感到沮喪的是,我無法編寫自己的網站,因此我可以測試未來的業務構想。 這個限制因素使我很煩。

So I set out to change that. I used frustration to provide me the fuel to go back and continue with programming.

所以我著手改變這一點。 我沮喪地為我提供了回去繼續編程的動力。

展望未來 (Looking beyond)

This time around, I had a purpose. It had just taken me awhile to figure it out. It was simple, but powerful.

這次,我有一個目的。 我花了一段時間才弄清楚。 它很簡單,但是功能強大。

My purpose was to go back and continue to learn programming so that I could change careers.

我的目的是回去繼續學習編程,以便我可以改變職業。

I didn’t want to continue in my engineering field. I wanted to have my own online business. However, if I couldn’t reach that goal, I wanted to have programming as my new career. Because I knew I would be happier working as a programmer, or front-end web developer, than as an engineer.

我不想繼續從事我的工程領域。 我想擁有自己的在線業務。 但是,如果我不能達到那個目標,我想將編程作為我的新職業。 因為我知道我要成為一名程序員或前端Web開發人員要比擔任工程師更快樂。

So now I had two reasons.

所以現在我有兩個原因。

  • My pain desire of not being able to make my own website.

    我痛苦的愿望是無法建立自己的網站。
  • My discovered purpose of wanting to have programming as a fallback career, assuming that I wasn’t successful in online business.

    假設我在在線業務上沒有成功,我發現自己想要將編程作為后備職業的目的。

Either way, I needed programming for both.

無論哪種方式,我都需要編程。

This made learning how to program (in JavaScript) critical and very important in my life.

這使得學習編程(使用JavaScript)變得至關重要,這對我的生活非常重要。

不回頭 (No looking back)

My motivation now came from wanting a better future. One that I would be happier in. One that I would enjoy.

我現在的動力來自想要更好的未來。 我會更快樂的一種。我會喜歡的一種。

After all, what is life without happiness?

畢竟,沒有幸福的生活是什么?

I saw learning how to program as a way to lead me there. I got a new perspective. I also changed my mindset. It wasn’t something that I WANTED to do, but something that I needed to do.

我看到了學習編程的方法,以此引導我到那里。 我有了新的看法。 我也改變了主意。 這不是我想要做的,而是我需要做的。

This one word makes all the difference. A must do means that there is no other alternative.

這個詞使一切變得不同。 必須做意味著沒有其他選擇。

While I haven’t quite reached this goal yet, I know that I’ve gotten far enough over the hump that I will succeed. It is only a matter of time.

雖然我還沒有達到這個目標,但我知道我已經取得了成功,我已經取得了足夠的成就。 這只是時間問題。

I also used several additional resources to freeCodeCamp the second time around.

我還第二次使用了一些額外的資源來freeCodeCamp 。

This allowed me to pick up different bits of information that I hadn’t fully grasped. Using multiple resources only helped me to solidify my learning.

這使我可以收集到一些我沒有完全掌握的信息。 使用多種資源只會幫助我鞏固學習。

I’m currently still working towards getting my front-end development certificate. I’ve completed all of the algorithm problems and only have seven projects remaining.

我目前仍在努力獲取前端開發證書。 我已經完成了所有算法問題,僅剩下七個項目。

結論 (Conclusion)

To summarize, keep these three factors in mind the next time you want to achieve success.

總而言之,下次要獲得成功時,請牢記這三個因素。

欲望 (Desire)

  • A pain desire is more powerful than a want desire. Use that to your advantage.

    一個痛苦的愿望是不是一個想要的欲望更加強大。 利用它來發揮您的優勢。

目的 (Purpose)

  • Have a valuable purpose. To help someone else, to do something to improve your life, or to create a benefit for yourself/others.

    有一個有價值的目的。 幫助他人,做點事情來改善您的生活或為自己/他人創造利益。

This helps with the last factor.

這有助于最后一個因素。

動機 (Motivation)

  • Make something important enough to you so you must do it and not just want to do it.

    做一些對您來說很重要的事情,所以您必須做,而不僅僅是想做

  • Make it a consistent habit to work towards your goal.

    養成實現目標的一致習慣。
  • Eliminate waste or things that hold you back from getting there.

    消除浪費或阻礙您到達那里的事情。

Did you find this article helpful? Are you currently aspiring to have your own online business? Then I’d love to connect with you on Twitter.

您覺得這篇文章對您有幫助嗎? 您當前是否想擁有自己的在線業務? 然后,我很想在Twitter上與您聯系。

You might also want to check out my CreateYourTale community. It’s a place where aspiring online entrepreneurs help each other out. Each are striving to achieve their goal of creating a successful online business.

您可能還想查看我的CreateYourTale社區。 這是一個有抱負的在線企業家互相幫助的地方。 每個人都在努力實現創建成功的在線業務的目標。

翻譯自: https://www.freecodecamp.org/news/how-i-went-from-failure-to-success-in-programming-and-what-got-me-there-7bfe151b30ef/

未來編程語言的走向

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/394219.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/394219.shtml
英文地址,請注明出處:http://en.pswp.cn/news/394219.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

《中國人工智能學會通訊》——5.16 結 論

5.16 結 論 在過去的 30 年中,移動操作機器人在機器人實驗室受到了廣泛的關注并獲得了比較充分的研究。未來隨著工業領域的自動化需求,移動操作機器人將會深入到生產的各個環節。目前,幾乎所有的移動操作機器人都沒有在實際環境中獲得廣泛及充…

【轉載 | 筆記】IIS無法刪除應該程序池 因為它包含X個應用程序

IIS無法刪除應該程序池 因為它包含X個應用程序 今天代碼主分支在vs2015創建了虛擬目錄http://localhost/webapp指向的物理路徑是E:\webapp 之后新開了一個分支把代碼放在了D:\webapp之后又在vs2015中創建了虛擬目錄 http://localhost/webapp/home 這下就杯具了。在主分支調試的…

python作中國地圖背景氣泡圖_exce表格中怎么制作中國地圖背景數據氣泡圖

exce表格中怎么制作中國地圖背景數據氣泡圖exce表格中怎么制作中國地圖背景數據氣泡圖?excel表格中想要在中國地圖上顯示氣泡來看看地區分布情況,該怎么設置中國地圖氣泡圖表呢?下面我們就來看看詳細的教程,需要的朋友可以參考下1、如圖1所示&#xff…

leetcode979. 在二叉樹中分配硬幣(dfs)

給定一個有 N 個結點的二叉樹的根結點 root,樹中的每個結點上都對應有 node.val 枚硬幣,并且總共有 N 枚硬幣。 在一次移動中,我們可以選擇兩個相鄰的結點,然后將一枚硬幣從其中一個結點移動到另一個結點。(移動可以是從父結點到…

python怎么顯示求余的除數_Python算術運算符及用法詳解

算術運算符也即數學運算符,用來對數字進行數學運算,比如加減乘除。下表列出了 Python 支持所有基本算術運算符。表 1 Python 常用算術運算符運算符說明實例結果加12.45 1527.45-減4.56 - 0.264.3*乘5 * 3.618.0/除法(和數學中的規則一樣)7 / 23.5//整除…

任務完成:我從CNC2018 GetAJob挑戰中學到的東西

什么是CNC2018? (What is CNC2018?) CNC2018 stands for the CodeNewbie Challenge of 2018 put on by CodeNewbie. If you haven’t heard of CodeNewbie, it’s a community and podcast run by Saron Yitbarek. They also host live Twitter Chats on Sundays a…

HTML td 標簽的 colspan 屬性

表格單元橫跨兩列的表格&#xff1a; <table border"1"><tr><th>Month</th><th>Savings</th></tr><tr><td colspan"2">January</td></tr><tr><td colspan"2">Fe…

Kotlin的Lambda表達式以及它們怎樣簡化Android開發(KAD 07)

作者&#xff1a;Antonio Leiva 時間&#xff1a;Jan 5, 2017 原文鏈接&#xff1a;https://antonioleiva.com/lambdas-kotlin/ 由于Lambda表達式允許更簡單的方式建模式函數&#xff0c;所以它是Kotlin和任何其他現代開發語言的最強工具之一。 在Java6中&#xff0c;我們僅能下…

Pyhon進階9---類的繼承

類的繼承 基本概念 定義 格式如下 繼承中的訪問控制 class Animal:__CNOUT 0HEIGHT 0def __init__(self,age,weight,height):self.__CNOUT self.__CNOUT 1self.age ageself.__weight weightself.HEIGHT heightdef eat(self):print({} eat.format(self.__class__.__name__…

python怎么備份列表_python實例:backup 備份

python實例&#xff1a;backup 備份本文來源于《python簡明教程》中的實例1. 提出問題&#xff1a; 我想要一個可以為我的所有重要文件創建備份的程序。2. 分析明確問題&#xff1a;我們如何確定該備份哪些文件&#xff1f;備份保存在哪里&#xff1f;我們怎么樣存儲備份&#…

leetcode1466. 重新規劃路線(dfs)

n 座城市&#xff0c;從 0 到 n-1 編號&#xff0c;其間共有 n-1 條路線。因此&#xff0c;要想在兩座不同城市之間旅行只有唯一一條路線可供選擇&#xff08;路線網形成一顆樹&#xff09;。去年&#xff0c;交通運輸部決定重新規劃路線&#xff0c;以改變交通擁堵的狀況。 路…

mysql數學函數名_Mysql數學函數

所有的數學函數在發生錯誤的情況下&#xff0c;均返回 NULL。-一元減。改變參數的符號&#xff1a;mysql> SELECT - 2;-> -2注意&#xff0c;如果這個操作符被用于一個 BIGINT&#xff0c;返回值也是一個 BIGINT&#xff01;這就意味著&#xff0c;應該避免在一個可能有值…

angular 漸進_如何創建具有Angular和無頭CMS的漸進式Web應用程序

angular 漸進by Ondrej Chrastina通過Ondrej Chrastina 如何創建具有Angular和無頭CMS的漸進式Web應用程序 (How to create a progressive web app featuring Angular and headless CMS) Have you ever wondered how a headless Content Management System fits in with Progr…

win10不用第三方工具激活的方法

步驟&#xff1a;1、本機上裝個win7旗艦版&#xff0c;這個得拿第三方工具激活一下&#xff0c;當然你如果已經購買了正版更沒問題了。第三方工具推薦那個啥啥loader&#xff0c;記住&#xff1a;chew_wga系列的暴力工具是不行的哦&#xff1b;2、把需要安裝的win10官方安裝鏡像…

CentOS 7 搭建 LAMP

一、安裝httpd 1、yum install httpd -y 2、啟動服務&#xff1a;systemctl start httpd 3、設置開機啟動&#xff1a;systemctl enable 二、安裝mariadb 1、yum groupinstall mariadb 2、啟動服務&#xff1a;systemctl start mariadb 3、設置開機啟動&#xff1a;systemctl e…

quartz教程二

轉載于:https://www.cnblogs.com/mumian2/p/10729901.html

python hookapi_pytest文檔70-Hook鉤子函數完整API總結?

pytest_collectstart(collector: Collector) 收集器開始收集。pytest_make_collect_report(collector: Collector) 執行collector.collect()并返回一個CollectReport。pytest_itemcollected(item: Item) 我們剛剛收集了一個測試項目。pytest_collectreport(report: Coll…

出現字跡模糊跡象_改變跡象:如何使用動態編程解決競爭性編程問題

出現字跡模糊跡象by Sachin Malhotra由Sachin Malhotra 改變跡象&#xff1a;如何使用動態編程解決競爭性編程問題 (Change the signs: how to use dynamic programming to solve a competitive programming question) If you’re a competitive programmer like I am, one of…

leetcode695. 島嶼的最大面積(dfs)

給定一個包含了一些 0 和 1 的非空二維數組 grid 。一個 島嶼 是由一些相鄰的 1 (代表土地) 構成的組合&#xff0c;這里的「相鄰」要求兩個 1 必須在水平或者豎直方向上相鄰。你可以假設 grid 的四個邊緣都被 0&#xff08;代表水&#xff09;包圍著。找到給定的二維數組中最大…

python把圖片轉為字符畫_Python 實現圖片轉換為字符畫

主要使用 pillow如果沒有安裝 使用 pillow install pillow 安裝一下看代碼&#xff1a;from PIL import Imageimport argparse#字符畫所用的字符集ascii_char list("$B%8&WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\|()1{}[]?-_~<>i!lI;:,\"^. ")def get…